[MacPorts] #61202: squid 4.13 HTTPS Sites Extremely Slow

MacPorts noreply at macports.org
Sat Sep 19 15:17:46 UTC 2020


#61202: squid 4.13 HTTPS Sites Extremely Slow
-----------------------+--------------------
 Reporter:  essandess  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.3
 Keywords:             |       Port:  squid4
-----------------------+--------------------
 squid 4.13 is extremely slow when accessing TLS-secured sites.

 Does anyone else observe this issue?

 Troubleshooting, using the configuration
 {{{/opt/local/etc/squid/squid.conf.default}}}, with and without the
 directive:

 {{{
 always_direct allow all
 }}}

 I don't see any issues in {{{access.log}}} or {{{cache.log}}}.


 Comparing Privoxy to squid download times using {{{curl}}}:

 Privoxy proxy download time:
 {{{
 time curl --proxy localhost:8118
 https://www.youtube.com/watch?v=dQw4w9WgXcQ 1> /dev/null
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100  518k    0  518k    0     0   682k      0 --:--:-- --:--:-- --:--:--
 682k

 real    0m0.784s
 user    0m0.019s
 sys     0m0.018s
 }}}

 Squid 4.13 proxy download time (times out with curl, eventually loads
 using Safari):
 {{{
 time curl --proxy localhost:3128
 https://www.youtube.com/watch?v=dQw4w9WgXcQ 1> /dev/null
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:--  0:04:00 --:--:--
 0curl: (56) Received HTTP code 503 from proxy after CONNECT

 real    4m0.493s
 user    0m0.017s
 sys     0m0.027s
 }}}

 On the other hand, HTTP access is very fast:

 {{{
 time curl --proxy jacquard:3128 http://earlyconifers.myspecies.info 1>
 /dev/null
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 46246    0 46246    0     0  5645k      0 --:--:-- --:--:-- --:--:--
 5645k

 real    0m0.028s
 user    0m0.005s
 sys     0m0.009s
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61202>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list