curl-library
Re: libcurl as a proxy
Date: Fri, 13 Jan 2006 18:23:37 +0900
On 1/13/06, Manuel Arguelles <manuel.arguelles_at_wirelesszt.com> wrote:
> GIF89aŠ? where is the data... am I missing something?
I experienced this before when I was reading in text mode (not with
libcurl). Have you tried binary?
> On Thu 12 Jan 2006 16:50, Daniel Stenberg wrote:
> > On Thu, 12 Jan 2006, Manuel Arguelles wrote:
> > > What I'm doing is to open a listening socket, then when there's a request
> > > accept it (new socket), fork, parse the request to get the url, pass it
> > > to libcurl get the result, send it to the socket, close the socket.
> > >
> > > is there any especial options that I should consider?? does the
> > > CURLOPT_WRITEDATA callback have the raw data?
> >
> > That can certainly be done, as has even been done in the past.
> >
> > I don't know what you mean with 'raw' data, but I would advice that you
> > start off your venture by reading the tutorial:
> >
> > http://curl.haxx.se/libcurl/c/libcurl-tutorial.html
>
>
Received on 2006-01-13