commit | e0232f1e335095571bb0264ae70909827357e82c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Apr 05 18:01:06 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 06 11:37:35 2015 +0200 |
tree | 9f25f54230f67eaf64aecc027e41a7c0820d3c56 | |
parent | f9d1bc6d9a0dfa098500b6029b6fcc94b00eeac9 [diff] [blame] |
MEDIUM: frontend: don't restrict frontend_accept() to connections anymore Now it can also initialize streams initiated by applets. This will be needed for HTTP/2.
diff --git a/src/stream.c b/src/stream.c index 5a021aa..59d1d5d 100644 --- a/src/stream.c +++ b/src/stream.c
@@ -222,7 +222,7 @@ else if (appctx) s->si[0].flags |= SI_FL_WAIT_DATA; - if (conn && p->accept && p->accept(s) < 0) + if (p->accept && p->accept(s) < 0) goto out_fail_accept; if (conn) {