Commit 58f92d48 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Add remarks about callbacks and spdylay_session_{recv,send}

parent be5066c4
......@@ -7,3 +7,13 @@ Includes
To use the public APIs, include ``spdylay/spdylay.h``::
#include <spdylay/spdylay.h>
Remarks
-------
Do not call `spdylay_session_send`, `spdylay_session_recv` or
`spdylay_session_mem_recv` from the spdylay callback functions
directly or indirectly. It will lead to the crash. You can submit
requests or frames in the callbacks then call `spdylay_session_send`,
`spdylay_session_recv` or `spdylay_session_mem_recv` outside of the
callbacks.
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