Changes to ticket 66cbcd56a2
By anonymous on 2008-11-27 06:50:48. See also: artifact content, and ticket history
- Change comment to "win32 client receive data function 'socket_read_blob()' (declared in "http.c") call 'recv()' and test return value is negative or else. but if peer unexpected shutdown 'recv()' returns zero. so this functon enters infinite-loop. to fix it, return value is negative or equal to zero as error. <verbatim> while ( i<nToRead ){ read = recv(pSockId, rbuf, 50, 0); i += read; - if( read<0 ){ + if( read<=0 ){ return 0; } blob_append(pBlob, rbuf, read); }</verbatim>"
- Change foundin to "a8c3a7ea92 2008-11-22T19:32:44"
- Change private_contact to "6b7d8d19b3584e0b0b59ee79d0f778ecd9f60111"
- Change severity to "Minor"
- Change status to "Open"
- Change title to "win32 'fossil pull' or other client side commands hang up if peer unexpected shutdown."
- Change type to "Code_Defect"