Thanks for your report.

I backed out the change since we are close to release. The real problem here
will be revisited later.

/Benno
Mark Patruck([email protected]) on 2018.10.11 07:57:30 +0200:
> - http or https doesn't matter
> 
> - only pkg_add is affected, ftp download works
> 
> - reverting benno@'s change to
>   /src/usr.sbin/httpd/{httpd.h,server.c,server_http.c}
>   10 days ago makes pkg_add work normally again
> 
> 
> On Wed, Oct 10, 2018 at 10:27:11PM +0000, Stuart Henderson wrote:
> > On 2018-10-10, Mark Patruck <[email protected]> wrote:
> > > Hi,
> > >
> > > is anyone else seeing a high latency when running pkg_add with 6.4?
> > >
> > > - server with httpd (5 hours old 6.4)
> > > - client running pkg_add (5 hours old 6.4)
> > >
> > > $ doas pkg_add -u
> > >
> > > nothing happens for ~60 seconds
> > >
> > > $ (done)
> > >
> > > Everything works normally, if
> > >
> > > - i replace httpd with nginx for testing
> > > - pkg_add against httpd running on a 25 days old -current
> > >
> > >
> > >   -Mark
> > >
> > 
> > Can you figure out what's slow? Are plain fetches from that server
> > using ftp(1) also slow or is it just with pkg_add?
> > 
> > Is it using http or https? If https, is http any better?
> > 
> > Is it possible to try building older httpd from source (e.g.
> > "cd /usr/src/usr.sbin/httpd; cvs up -D 2018/09/15; make obj; make;
> > doas make install") and see if the problem occurs there too? (i.e
> > determine whether it's an httpd change or some other change that
> > caused it).
> > 
> > 
> 
> -- 
> Mark Patruck ( mark at wrapped.cx )
> GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51
> 
> http://www.wrapped.cx
> 

Reply via email to