Accept() waits forever...
Robert Collins
robert.collins@itdomain.com.au
Sun Jun 4 05:02:00 GMT 2000
I am working on porting Squid to Cygwin.
When squid.exe recieves a request it calls accept() on the FD the client
connected to twice. Once immediately, and once as soon as it has checked the
acl information. For some reason accept() then hangs. SIGHUP is still acted
on by squid.exe
* I have grabbed the winsup source to see if it gave me any hints, but
nothing stood out.
* I am running win2k pro, and have put administrator (my account) into
the user rights for replace a process level token, act as part of the o/s
and the third group needed by inetd (I assume that some part of the tcp
daemon support needs these rights?)
* The cygcheck -s output is at the end of my email.
* I have searched the archives - no luck there :-[
Any help and/or suggestions would be appreciated
Rob
bash-2.04$ cygcheck -s
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Sun Jun 4 21:17:37 2000
WinNT Ver 5.0 build 2195
Path: /usr/bin
/usr/local/bin
/cygdrive/e/WINNT/system32
/cygdrive/e/WINNT
/cygdrive/e/WINNT/System32/Wbem
/usr/bin
/usr/local/bin
SysDir: E:\WINNT\System32
WinDir: E:\WINNT
MAKE_MODE = `unix'
PWD = `/usr/local/squid'
Use `-r' to scan registry
a: fd N/A N/A
c: hd FAT 101Mb 80% CP UN
d: hd NTFS 4337Mb 82% CP CS UN PA FC
e: hd NTFS 4479Mb 87% CP CS UN PA FC
f: hd NTFS 4133Mb 40% CP CS UN PA FC
g: cd N/A N/A
h: cd CDFS 575Mb 100% CS BG Disc 2
E:\cygwin\bin /usr/bin user binmode
E:\cygwin\lib /usr/lib user binmode
E:\cygwin / user binmode
d:install /usr/install system binmode
Found: E:\cygwin\bin\bash.exe
Found: E:\cygwin\bin\cat.exe
Found: E:\cygwin\bin\cpp.exe
Found: E:\cygwin\bin\find.exe
Found: E:\cygwin\bin\gcc.exe
Found: E:\cygwin\bin\gdb.exe
Found: E:\cygwin\usr\local\bin\gdb.exe
Found: E:\cygwin\bin\ld.exe
Found: E:\cygwin\bin\ls.exe
Found: E:\cygwin\bin\make.exe
Found: E:\cygwin\bin\sh.exe
115k 1999/09/14 E:\cygwin\bin\cygitcl30.dll
63k 1999/09/14 E:\cygwin\bin\cygitk30.dll
474k 1999/09/14 E:\cygwin\bin\cygtcl80.dll
19k 1999/09/14 E:\cygwin\bin\cygtclpip80.dll
24k 1999/09/14 E:\cygwin\bin\cygtclreg80.dll
768k 1999/09/14 E:\cygwin\bin\cygtk80.dll
604k 2000/05/26 E:\cygwin\bin\cygwin1.dll
1484k 2000/06/03 E:\cygwin\usr\local\bin\cygtcl80.dll
13k 2000/06/03 E:\cygwin\usr\local\bin\cygtclpip80.dll
179k 2000/06/03 E:\cygwin\usr\local\bin\cygtclreg80.dll
Use -h to see help about each section
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list