diff options
author | 2015-03-27 07:16:38 +0000 | |
---|---|---|
committer | 2015-03-27 07:16:38 +0000 | |
commit | e36d0f04303a6850e187ec54ad53f32647ca6f01 (patch) | |
tree | 93c959f8fdf31e4dfe8bcec9c3966c4649b09af3 | |
parent | Some vi cleanup, unifdef's some signal blocking code that has never been (diff) | |
download | wireguard-openbsd-e36d0f04303a6850e187ec54ad53f32647ca6f01.tar.xz wireguard-openbsd-e36d0f04303a6850e187ec54ad53f32647ca6f01.zip |
f the parent builts up a list of replies for the child, it helps
to readd the write event if there's still items on the list.
this lets things that do a lot of requests in parallel (like npm)
work betterer through a squid proxy using ident for auth.
ok jmatthew@
-rw-r--r-- | usr.sbin/identd/identd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/identd/identd.c b/usr.sbin/identd/identd.c index cd11699bf9a..6b605e797e8 100644 --- a/usr.sbin/identd/identd.c +++ b/usr.sbin/identd/identd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: identd.c,v 1.27 2015/01/16 06:40:17 deraadt Exp $ */ +/* $OpenBSD: identd.c,v 1.28 2015/03/27 07:16:38 dlg Exp $ */ /* * Copyright (c) 2013 David Gwynne <dlg@openbsd.org> @@ -489,6 +489,9 @@ parent_wr(int fd, short events, void *arg) free(r->buf); free(r); + + if (!SIMPLEQ_EMPTY(&sc.parent.replies)) + event_add(&proc_wr, NULL); } void |