Re: Does curl-loader support HTTP 1.0 ?
Status: Alpha
Brought to you by:
coroberti
|
From: meenakshi s. <mee...@gm...> - 2008-12-29 10:52:23
|
Hi, I tried what you had suggested. But still only HTTP 1.1 requests are being sent. Can you please explain it more. I need to konw what should my configuration file contain [if it should be compatible with HTTP 1.0]. Thanks Meenakshi On Wed, Dec 24, 2008 at 11:35 AM, Robert Iakobashvili <cor...@gm...>wrote: > Hi Meenakshi, > > On Wed, Dec 24, 2008 at 7:05 AM, meenakshi syamkumar > <mee...@gm...> wrote: > > Hi, > > > > I need to perform HTTP 1.0 testing as well as HTTP 1.1 in my test suite. > > > > So, I'd like to know whethercurl-loader supports HTTP 1.0. That is, can > it > > generate and send HTTP 1.0 traffic? > > > > Thanks, > > > > Meenakshi > > Since libcurl has such option, the code can be modified to do that. > > Y can add in loader.c function setup_curl_handle_init () > somewhere at the beginning: > > curl_easy_setopt (handle, CURLOPT_HTTP_VERSION , CURL_HTTP_VERSION_1_0); > > which means Enforce HTTP 1.0 requests. > > A possible issue is that it can potentially conflict with other options set > in > setup_curl_handle_init () or > setup_curl_handle_appl (). > > Y might wish to investigate, whether is just works after the above > modification, > which is fast. > > > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com > Assistive technology that understands you > ...................................................................... > > > ------------------------------------------------------------------------------ > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > -- Live LIFE Lively to make it Lovely |