Commit a47d69d3 authored by David Woodhouse's avatar David Woodhouse

Refactor oNCP receive handling

It looks like KMP messages can indeed span multiple records.
Signed-off-by: default avatarDavid Woodhouse <>
parent 4daa7205
This diff is collapsed.
......@@ -496,6 +496,7 @@ struct openconnect_info {
struct pkt *pending_deflated_pkt; /* The original packet associated with above */
struct pkt *current_ssl_pkt; /* Partially sent SSL packet */
struct pkt_q oncp_control_queue; /* Control packets to be sent on oNCP next */
int oncp_rec_size; /* For packetising incoming oNCP stream */
/* Packet buffers for receiving into */
struct pkt *cstp_pkt;
struct pkt *dtls_pkt;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment