On Thu, 9 Aug 2007, Daniel Stenberg wrote: > Ok friends, I'll need some help and eyes on this.
1. I committed the src/transport.c fix I mentioned since the previous version was simply wrong. 2. I've tracked down the hang to being somehow related to the SSH channel window size. I can remove the hang and complete my 90MB download if I apply the patch below. It is very crude and simply cuts out the shrinking of the window size, but I must admit I don't fully understand why the logic works this way. Again, I'm open for input, ideas or even lectures! ;-) diff -u -b -r1.55 packet.c --- packet.c 6 Aug 2007 20:48:07 -0000 1.55 +++ packet.c 11 Aug 2007 22:17:29 -0000 @@ -715,9 +715,11 @@ session->packAdd_channel->remote.window_size + session->packAdd_data_head; } else { +#if 0 /* Now that we've received it, shrink our window */ session->packAdd_channel->remote.window_size -= datalen - session->packAdd_data_head; +#endif } } break; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel