[Home]

Summary:ASTERISK-00322: [patch] accept locks file descriptor
Reporter:Thorsten Lockert (tholo)Labels:
Date Opened:2003-09-26 23:17:07Date Closed:2008-01-15 14:35:22.000-0600
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) accept.diff
Description:Asterisk fails to exit properly due to a file descriptor being locked in accept()

****** ADDITIONAL INFORMATION ******

By using select() to verify that a file descriptor is ready before calling accept() this is avoided.  Patch included.
Comments:By: Mark Spencer (markster) 2003-09-29 15:19:07

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:35:22.000-0600

Repository: asterisk
Revision: 1580

U   trunk/asterisk.c

------------------------------------------------------------------------
r1580 | markster | 2008-01-15 14:35:21 -0600 (Tue, 15 Jan 2008) | 2 lines

Check with select before accept (bug ASTERISK-322)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=1580