Re: How to use http persistent connection
Gary Mulder <[email protected]> Mon, 23 Mar 2015 18:35:22 +0000
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAKy9zTCAia5D5mUK7FtbkX-V4GJtJOam-z4_Vy+VX6gndjG0Ag@mail.gmail.com> |
On 23 March 2015 at 14:13, Gary Mulder <[email protected]> wrote: > Hi Carol, > > From memory each iteration of __call__ will create a new HTTP connection. > You can use HTTPPluginControl to control this behaviour. > Correction - I just checked and HTTPPluginConnection, which allows you to set the default request headers, but HTTP KeepAlive isn't an option. I think I simply wrapped my requests in a while loop within __call__ to preserve HTTP KeepAlives. Regards, Gary ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use