public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Search Repo:
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Fix a regression introduced in the last commit.
Hongli Lai (Phusion) (author)
Thu May 15 04:04:50 -0700 2008
commit  edf8e3ccf07c302498a4f72fa7110d4a144a15b1
tree    fc320ccadfa5df49160fd7cd066a45fbac39beae
parent  3de371a19b83a555902225cf665c966ed79f4db7
...
156
157
158
159
 
 
 
160
161
162
...
398
399
400
401
 
402
403
404
...
411
412
413
414
 
415
416
417
...
156
157
158
 
159
160
161
162
163
164
...
400
401
402
 
403
404
405
406
...
413
414
415
 
416
417
418
419
0
@@ -156,7 +156,9 @@
0
     }
0
     clientsCopy.clear();
0
     
0
- unlink(statusReportFIFO.c_str());
0
+ do {
0
+ ret = unlink(statusReportFIFO.c_str());
0
+ } while (ret == -1 && errno == EINTR);
0
   }
0
   
0
   int start(); // Will be defined later, because Client depends on Server's interface.
0
@@ -398,7 +400,7 @@
0
     
0
     // The received data only serves to wake up the server socket,
0
     // and is not important.
0
- while (!serverDone) {
0
+ if (!serverDone) {
0
       do {
0
         ret = read(serverSocket, &x, 1);
0
       } while (ret == -1 && errno == EINTR && !serverDone);
0
@@ -411,7 +413,7 @@
0
     
0
     // We have an incoming connect request from an
0
     // ApplicationPool client.
0
- while (!serverDone) {
0
+ if (!serverDone) {
0
       do {
0
         ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fds);
0
       } while (ret == -1 && errno == EINTR && !serverDone);

Comments

    No one has commented yet.