select hangup with Curl FTP
I am using linux-2.4.x & Curl FTP.
Curl FTP works most of the time on linux, however, occasionally the system hangup. I trace the code to the place where Curl_select calls select and never return.
I put trace deep inside the kernel select code, sys_select to be exact, the code hang after the call schedule_timeout().
When putting a delay before the select call, for example, a printf, the problem disappear. It looks like I have some timing issue with my linux kernel.
I appreciate very much any info on this issue.
Thanks in advance,