GNOME Bugzilla – Bug 576460
No cap on number of HTTP connections
Last modified: 2014-07-03 19:10:52 UTC
If a large number of g_file_load_contents_async()s (for example) are issued in a short space of time for a HTTP file, the GVFS HTTP backend will happily make all the connections simultaneously, which crashes my router. It doesn't seem to take SoupSession's max-conns or max-conns-per-host properties into account, which it should do; or have its own equivalents. Test case and Wireshark log coming up.
Created attachment 131206 [details] Test case for number of connections Test case. If the network traffic is logged, all the requests/connections are made within 100ms. Log coming up.
Created attachment 131209 [details] Log of the network traffic Wireshark log of traffic on port 80.
Created attachment 131210 [details] Log of the network traffic Wireshark log of traffic on port 80.
Whoops, duplicate upload. Ignore the first one.
This should be fixed with the use of a single SoupSession in bug 732090. Thanks.