Subject: Re: Receiving intermediate results from an application

Re: Receiving intermediate results from an application

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 23 Mar 2009 19:46:39 +0100 (CET)

On Mon, 23 Mar 2009, Bob Alexander wrote:

> The app on the server dribbles out information on stderr over a period of 45
> seconds, then exits. But my calls to libssh2_channel_read_stderr return
> nothing until the server app exits - and then I quickly get all the data
> that had been sent.
>
> I've tried setting the socket's TCP_NODELAY but the problem persists. Is
> there something I'm missing?

I'd suggest building libssh2 debug enabled and then use libssh2_trace() to get
a lot of info about what is actually received to see if the problem is in the
client side or server side. If it's server side it's not really anything we
can do to change it...

-- 
  / daniel.haxx.se
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-03-23