Closed ChristopherRogers closed 11 years ago
Do you call spdylay_submit_goaway() + spdylay_session_send() in the callback? Then, yes, it will cause memory error. Basically, spdylay_session_send and/or spdylay_session_recv must not be called from spdylay callbacks. I'll add this note in manual.
Documentation complete, so I close this issue.
Due to the placement of the
on_stream_close_callback()
call inspdylay_session_close_stream
, you can call GOAWAY inside of this handler and have the same method be called again, causing the stream data to be freed twice.