apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: apr_socket_recv
Date Wed, 07 Jan 2004 16:05:43 GMT
Marco Spinetti wrote:

> The problem is that the function apr_socket_recv doesn't read all the
> output but only a part of it. This function returns APR_SUCCESS before
> all the output is sent.
> 
> Shall I set a particular option?

no, just loop calling apr_recv until you hit an error or EOF or you read 
all you expected

we should update the docs to say that it will return partial data... 
since this is the way the raw network APIs work, it probably didn't seem 
interesting to we implementors



Mime
View raw message