Commit a9d91262 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Assign 0 to GOAWAY status_code for SPDY/2

parent abfc100e
......@@ -766,6 +766,8 @@ int spdylay_frame_unpack_goaway(spdylay_goaway *frame,
SPDYLAY_STREAM_ID_MASK;
if(frame->hd.version == SPDYLAY_PROTO_SPDY3) {
frame->status_code = spdylay_get_uint32(payload+4);
} else {
frame->status_code = 0;
}
return 0;
}
......
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