The problem is reading a large file from a socket, not writing to. I'm going to modify the http server 3 to support http put and see if I can duplicate the problem with that. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Igor R Sent: Wednesday, August 26, 2009 10:48 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] [asio] poor read performance with 10Mb
Not easily,
The application with the trouble is a windows service that sits behind a lighttpd server. The client app is an exe that uses the libcurl library to send the data. I'm on windows BTW.
Perhaps I could start with the http server 3 and implement a http put method, I'll see the feasibility of that.
If I got you right, you say that reading a big file and sending it to a socket - by means of ASIO - takes a lot of time. This's unreleated to any other functionality - http or win.service - and could be easily isolated and reproduced in a few lines of code... _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users