Hi Bas,
Le Sat, Sep 25, 2010 at 12:39:14AM +0200, Bas Verhoeven ecrivait :
> The client uses 'evbuffer_pullup(buffer, -1)' to get a char*
> containing all data received. When testing with 'evbuffer_readln()'
> the garbage does not show up. Packet sniffing has also shown that
> that extra data is
Hello again,
Another question! I used the code from Pavel to create a basic HTTP
client. While testing I noticed that the retrieved data sometimes (but
consistent for that specific request) contains garbage at the end:
(gdb) p joined
$4 = 0x95232ff "\nÿÁÈ[ç\002\030[æ"
The client uses 'evbuff
Hello,
While using 'evhttp_encode_uri()' to encode GET & POST fields (I hope
this is the right function to use) I noticed that a lot of characters
are not being escaped in the way I would expect them to be escaped.
For example: I would have expected it to encode '+' to '%2B' because it
will
Pavel Plesov wrote:
Here it is a sample HTTP GET client with redirection (301/302) support.
I suppose download.c enough to get the idea how to implement more
complex http client.
Sorry, I totally missed that e-mail. Should be enough to get me started,
thanks!
*