mirror of
https://github.com/moparisthebest/spdylay
synced 2024-12-21 23:28:52 -05:00
Add remarks about callbacks and spdylay_session_{recv,send}
This commit is contained in:
parent
be5066c450
commit
58f92d48c9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user