diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-02-26 12:16:13 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-02-26 12:16:13 +0000 |
commit | b78101bae0a5ae7038a15f23ea0706d01bd8bd99 (patch) | |
tree | bbb1fd9f6967dbab4b71f38ebf12d09de2441591 /usr.sbin/hoststated/relay.c | |
parent | a0bd4344fd959e392078900e0b1a6e55c1dda369 (diff) |
tweak flushing of unwritten bytes on http mode changes
Diffstat (limited to 'usr.sbin/hoststated/relay.c')
-rw-r--r-- | usr.sbin/hoststated/relay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hoststated/relay.c b/usr.sbin/hoststated/relay.c index 75edaadc39f..a8309756624 100644 --- a/usr.sbin/hoststated/relay.c +++ b/usr.sbin/hoststated/relay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay.c,v 1.9 2007/02/26 12:11:19 reyk Exp $ */ +/* $OpenBSD: relay.c,v 1.10 2007/02/26 12:16:12 reyk Exp $ */ /* * Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org> @@ -1083,7 +1083,7 @@ next: if (con->done) goto done; if (EVBUFFER_LENGTH(src)) - relay_bufferevent_write_buffer(cre->dst, src); + bev->readcb(bev, arg); bufferevent_enable(bev, EV_READ); return; done: |