Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Is there a way to limit network.http.max-persistent-connections-per-server to 1? I tried it but Firefox still seems to open 2 simultaneous connections

more options

In about:config I changed "network.http.max-persistent-connections-per-server" from 6 to 1, but sniffing with Wireshark I can still see 2 simultaneous connections. Firefox Version: 56.0.1 (64-bit) OS: Windows 8.1 Pro x64

In about:config I changed "network.http.max-persistent-connections-per-server" from 6 to 1, but sniffing with Wireshark I can still see 2 simultaneous connections. Firefox Version: 56.0.1 (64-bit) OS: Windows 8.1 Pro x64

Всички отговори (5)

more options

jeanvst said

In about:config I changed "network.http.max-persistent-connections-per-server" from 6 to 1, but sniffing with Wireshark I can still see 2 simultaneous connections.

Hi  !

Just to make sure : after you changed the value of that preference, did you close and then restart Firefox  ?

more options

Happy112 said

jeanvst said
In about:config I changed "network.http.max-persistent-connections-per-server" from 6 to 1, but sniffing with Wireshark I can still see 2 simultaneous connections.

Hi  !

Just to make sure : after you changed the value of that preference, did you close and then restart Firefox  ?

Hi, thanks for the reply.

I did restart Firefox. There was some effect on the configuration, since the first capture showed 6 connections, and after the change, 2 connections.

I repeated the test today and got an interesting (or weird?) result. If the destination address is on LAN (eg 192.168.1.x), Firefox opens a single connection as desired. If the destination is on WAN (eg 200.x.x.x), Firefox opens 2 connections.

Is there any other parameter I should change?

more options

In the following article, could you expand the Prefetching section and disable:

  • Link prefetching
  • Speculative pre-connections

How to stop Firefox from making automatic connections

Променено на от jscher2000 - Support Volunteer

more options

jscher2000 said

In the following article, could you expand the Prefetching section and disable:
  • Link prefetching
  • Speculative pre-connections
How to stop Firefox from making automatic connections

As suggested, I did the following changes: - network.prefetch-next = false - network.dns.disablePrefetch = true - network.http.speculative-parallel-limit = 0

However, Firefox is still making 2 connections.

more options

If you do not get an explanation here, you may want to file a bug.

https://bugzilla.mozilla.org/enter_bug.cgi