nghttpx: Send Stateless Reset in response to Short packet only for now
This commit is contained in:
parent
2b4dc4496f
commit
58d81dbc52
|
@ -172,8 +172,11 @@ int QUICConnectionHandler::handle_packet(const UpstreamAddr *faddr,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Must be rate limited
|
if (!(data[0] & 0x80)) {
|
||||||
send_stateless_reset(faddr, dcid, dcidlen, remote_addr, local_addr);
|
// TODO Must be rate limited
|
||||||
|
send_stateless_reset(faddr, dcid, dcidlen, remote_addr, local_addr);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue