Hello, Thanks to Yang who has fixed my first issue (I tested it under Windows and it works). However, the behavior is different of what I was waiting for. Indeed, I though the timeout was computed between two calls of the write_callback function and not computed by subtracting current time from connected time. Is it possible to have a timeout only if the time between two consecutive calls to write_callback function is more than X seconds (I won't have a timeout if there's still activity) ?
For my second issue, I will try to solve it by myself. Thanks for your help, Pierre On Wed, Mar 11, 2009 at 9:23 AM, Daniel Stenberg <[email protected]> wrote: > On Wed, 11 Mar 2009, Daniel Stenberg wrote: > > Why is it a difference between Windows and Unix behaviour ? It shouldn't >>> be difficult to place a timeout of 1s for the WaitForMultipleObjects >>> function and to add a code similar to (the Unix code) >>> >> >> Any chance you can provide a full patch for this fix? >> > > Oops, I should learn to read all mails before I start replying - I noticed > that Yang already fixed this part... > > -- > > / daniel.haxx.se >
