[erlang-questions] Stopping ibrowse:send_req/4 GET requests using keep_alive

Chandru chandrashekhar.mullaparthi@REDACTED
Tue Jul 21 12:33:20 CEST 2009


2009/7/21 Vik Olliver <vik@REDACTED>

> Is there a way to force send_req to not use keep_alive? i.e. (and I'll
> spell this out because I'm not an HTTP wizard) so that only one GET request
> is issued per connection?
>
> Vik :v)
>
>
You could try setting the http_vsn to 1.0. This way the server is forced to
close the connection after serving one request.

cheers
Chandru


More information about the erlang-questions mailing list