Re: Connection management when using a proxy



On 07/23/2009 06:51 PM, Christophe Gillette wrote:
> Please ignore my previous message. Just saw that it was an item in the
> ToDos, Plans, Crazy ideas section

The "To Do" list is more a list of things that *could* be done than a
list of what is actually happening. If something is causing problems for
you now, then yes, you should file a bug, because then I know that it's
causing a problem for someone, and because then I get reminded of it
more often. (I look at the list of all libsoup bugs in bugzilla a lot
more often than I look at the ToDo list.)

-- Dan

> 
> Christophe
> 
> On Thu, Jul 23, 2009 at 3:43 PM, Christophe Gillette
> <christophe public gmail com <mailto:christophe public gmail com>> wrote:
> 
>     Hi,
> 
>     The list of currently opened connections is kept based on the host:
>     if a connection with a different host than the current one is
>     requested, a new connection will be made as only idle connections of
>     a same host can be reused. It would be nice not to apply the same
>     model in the case of proxies. The connections opened by libsoup are
>     with the proxy and not the host, therefore, whatever the host,
>     libsoup should be able to reuse any idle connection. This means that
>     in the particular case of the proxy, the list of connections should
>     not be maintained at the host level but probably at the session
>     level (note that Firefox has a max_conn_per_proxy).
> 
>      
> 
>     In the context of the browser, many sites use the technique of
>     requesting resources from different servers to speed up their
>     download time and effectively go over the limitation imposed at the
>     browser level on the number of concurrent connections to a given
>     host. When the requests go through a proxy in such a case, a very
>     large number of connections can be generated (depending on the
>     max_conn_per_host value), and then terminated because libsoup thinks
>     that the socket connection is no longer valid as the host changed.
> 
>      
> 
>     Should this be filed in bugzilla?
> 
>      
> 
>     Thank you,
> 
>     Christophe
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> libsoup-list mailing list
> libsoup-list gnome org
> http://mail.gnome.org/mailman/listinfo/libsoup-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]