History Of Ticket 66cbcd56a229f33af6b9a6329a7
Not logged in
Ticket change [c46314b2cb] (rid 4060) by anonymous on 2008-12-03 06:31:42:
  1. Appended to comment:

    anonymous claiming to be silov.e added on 2008-12-03 06:31:42:
    Thank you for fix problems

    By the way, on many OSes, recv(2) (or read(2)) returns zero if peer unexpected or expected shutdown is normal behavior. It meanings no more data or end of stream. This behavior is not win32 quirks.

Ticket change [4cbd3b67c9] (rid 4031) by drh on 2008-11-27 13:51:22:
  1. Appended to comment:

    drh added on 2008-11-27 13:51:22:
    Fixed by check-in c12e5b102ee6079715da0fa4eff7fb502b68b111

  2. Change resolution to "Fixed"
  3. Change status to "Fixed"
Ticket change [b4548d883c] (rid 4021) by anonymous on 2008-11-27 06:50:48:
  1. 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>"
  2. Change foundin to "a8c3a7ea92 2008-11-22T19:32:44"
  3. Change private_contact to "6b7d8d19b3584e0b0b59ee79d0f778ecd9f60111"
  4. Change severity to "Minor"
  5. Change status to "Open"
  6. Change title to "win32 'fossil pull' or other client side commands hang up if peer unexpected shutdown."
  7. Change type to "Code_Defect"