mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 20:49:01 -04:00
Error out when we get an unknown NPN result.
This commit is contained in:
parent
c408f9c1b3
commit
75c4bb0754
@ -164,7 +164,9 @@ kore_connection_handle(struct connection *c)
|
||||
NETBUF_CALL_CB_ALWAYS, NULL,
|
||||
http_header_recv);
|
||||
} else {
|
||||
kore_debug("npn: received unknown protocol");
|
||||
kore_log(LOG_NOTICE,
|
||||
"npn: received unknown protocol");
|
||||
return (KORE_RESULT_ERROR);
|
||||
}
|
||||
} else {
|
||||
c->proto = CONN_PROTO_HTTP;
|
||||
|
Loading…
x
Reference in New Issue
Block a user