relayd and PUT

2017-12-12 Thread Rivo Nurges
Hi! If you http PUT a "big" file through relayd, server<>relay read side will eventually get a EVBUFFER_TIMEOUT. Nothing comes back from the server until the PUT is done. I disabled server read timeouts for PUT requests. While trying to fix the issue I managed to trigger another problem. For HTTP

Re: relayd and PUT

2017-12-12 Thread Rivo Nurges
Hi! Without text mangling this time... Rivo Index: usr.sbin/relayd/relay.c === RCS file: /cvs/src/usr.sbin/relayd/relay.c,v retrieving revision 1.236 diff -u -p -r1.236 relay.c --- usr.sbin/relayd/relay.c 28 Nov 2017 01:51:47 -0

Re: relayd and PUT

2017-12-12 Thread Claudio Jeker
On Wed, Dec 13, 2017 at 12:25:39AM +, Rivo Nurges wrote: > Hi! > > If you http PUT a "big" file through relayd, server<>relay read side > will eventually get a EVBUFFER_TIMEOUT. Nothing comes back from the > server until the PUT is done. I disabled server read timeouts for PUT > requests. > >

Re: relayd and PUT

2017-12-13 Thread Rivo Nurges
Hi! Thanks for enlightening me, I’ll try to fix the real problem. Rivo > On 13 Dec 2017, at 08:42, Claudio Jeker wrote: > >> On Wed, Dec 13, 2017 at 12:25:39AM +, Rivo Nurges wrote: >> Hi! >> >> If you http PUT a "big" file through relayd, server<>relay read side >> will eventually get a

Re: relayd and PUT

2017-12-15 Thread Rivo Nurges
Hi! On Wed, 2017-12-13 at 07:42 +0100, Claudio Jeker wrote: > I have seen something similar and came to the conclusion that the > timeout > handling of relayd is not correct. As long as traffic is flowing the > timeout should be reset (at least that is what every other > implementation > does). Th

Re: relayd and PUT

2018-01-04 Thread Alexander Bluhm
On Wed, Dec 13, 2017 at 07:42:03AM +0100, Claudio Jeker wrote: > On Wed, Dec 13, 2017 at 12:25:39AM +, Rivo Nurges wrote: > > If you http PUT a "big" file through relayd, server<>relay read side > > will eventually get a EVBUFFER_TIMEOUT. Nothing comes back from the > > server until the PUT is

Re: relayd and PUT

2018-01-19 Thread Rivo Nurges
On Fri, 2018-01-05 at 00:12 +0100, Alexander Bluhm wrote: > On Wed, Dec 13, 2017 at 07:42:03AM +0100, Claudio Jeker wrote: > > On Wed, Dec 13, 2017 at 12:25:39AM +, Rivo Nurges wrote: > > > If you http PUT a "big" file through relayd, server<>relay read > > > side > > > will eventually get a EV

Re: relayd and PUT

2018-01-19 Thread Rivo Nurges
Hi! Please ingore this. Rivo On Fri, 2018-01-19 at 14:01 +, Rivo Nurges wrote: > On Fri, 2018-01-05 at 00:12 +0100, Alexander Bluhm wrote: > > On Wed, Dec 13, 2017 at 07:42:03AM +0100, Claudio Jeker wrote: > > > On Wed, Dec 13, 2017 at 12:25:39AM +, Rivo Nurges wrote: > > > > If you http

Re: relayd and PUT

2018-01-19 Thread Rivo Nurges
Hi! On Fri, 2018-01-05 at 00:12 +0100, Alexander Bluhm wrote: > I have commited more regression tests that check the timeout with > unidirectional traffic flow. I could not find an error. In theory > when we have an idle timeout in one direction, relayd checks wheter > there is trafic flowing in