Disconnect on bad connection prefix

pull/106/head
Craig Tiller 10 years ago
parent cf1d6eb4ae
commit 5246e7a2d1
  1. 1
      src/core/transport/chttp2_transport.c

@ -1505,6 +1505,7 @@ static int process_read(transport *t, gpr_slice slice) {
CLIENT_CONNECT_STRING[t->deframe_state],
(int)(gpr_uint8)CLIENT_CONNECT_STRING[t->deframe_state], *cur,
(int)*cur, t->deframe_state);
drop_connection(t);
return 0;
}
++cur;

Loading…
Cancel
Save