We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Fix potential leak in Application::connect(): if connecting fails, close 
the socket.
Hongli Lai (Phusion) (author)
Fri Nov 21 11:26:27 -0800 2008
commit  66f90935cfffa50b8e36b75e56010278b06584ea
tree    5ac61852913892bbf655130d8ed8df6e5ac04f84
parent  9b459571069977c8dd3bf0e7c19110968754e7bb
...
450
451
452
 
 
 
453
454
455
...
450
451
452
453
454
455
456
457
458
0
@@ -450,6 +450,9 @@ public:
0
       string message("Cannot connect to Unix socket '");
0
       message.append(listenSocketName);
0
       message.append("' on the abstract namespace");
0
+ do {
0
+ ret = close(fd);
0
+ } while (ret == -1 && errno == EINTR);
0
       throw SystemException(message, e);
0
     }
0
     

Comments

    No one has commented yet.