Re: Link between curl_easy handle and connection

2016-03-08 Thread Pierre Brico
On Mon, Mar 7, 2016 at 9:24 PM, Isaac Boukris <ibouk...@gmail.com> wrote: > On Mon, Mar 7, 2016 at 8:01 PM, Pierre Brico <pierre.br...@gmail.com> > wrote: > > > > Okay, I see what you mean. You use the curl_multi API to wrap an easy > handle > > to avoid s

Re: Link between curl_easy handle and connection

2016-03-07 Thread Pierre Brico
com> wrote: > Hi, > > On Mon, Mar 7, 2016 at 1:15 AM, Daniel Stenberg <dan...@haxx.se> wrote: > > On Sun, 6 Mar 2016, Pierre Brico wrote: > > > >> So my question is: is it possible to link one connection to one CURL > >> handle (no pool usage)? > >

Re: Link between curl_easy handle and connection

2016-03-07 Thread Pierre Brico
wrote: > On Sun, 6 Mar 2016, Pierre Brico wrote: > > each virtual users has its own CURL handle. When the user wants to >> communicate with the server, it uses the CURL handle. But it seems that >> when starting a transfer, libcurl gets a connection from a pool, execute >

Link between curl_easy handle and connection

2016-03-06 Thread Pierre Brico
Hello, I'm currently writing a injector tool to perform benchmark on web application. This tool is based on libcurl and libevent. This tool creates a curl_easy handle per virtual user. The multi interface is then used in conjunction with the libevent library to execute all transfers. I have

Re: Cookie Secure flag

2016-02-18 Thread Pierre Brico
Hi Daniel and Ray, Thanks for your reply and suggestions. I understand why you don't want to implement such kind of feature in libcurl but I don't like the proposed solutions: Ray's one: customized modifications in libcurl in not a good idea Daniel's one: the processing to generate the Cookies

Cookie Secure flag

2016-02-17 Thread Pierre Brico
Hello, I've a question about the usage of libcurl with Secure Flag on Cookie. I'm writing a injector tool to perform benchmark on web application. This tool is based on libcurl and libevent. The web application isn't exposed directly to the web but uses a F5 ASM for security purposes. This F5

Re: Automated telnet problems

2009-03-11 Thread Pierre Brico
Hello, Thanks to Yang who has fixed my first issue (I tested it under Windows and it works). However, the behavior is different of what I was waiting for. Indeed, I though the timeout was computed between two calls of the write_callback function and not computed by subtracting current time from