ec_httpsrv_response_flush
Name
ec_httpsrv_response_flush — Flush pending session response output
Synopsis
#include "modules/listeners/httpsrv.h"
| int **ec_httpsrv_response_flush** (
| sess, | |
| | final)
; | |
Description
Note
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Flush pending session response output.
- sess
-
the session to flush
- final
-
indicates if there is no more data in this response.
Flushes pending data to the client. If final is non-zero, this is taken as a hint that there is no more data pending for this session (this is significant for compression schemes).
0 if successful, else returns an errno indicating what went wrong.
If invoked on the scheduler thread, this function is likely to return EAGAIN in cases where the network IO might have blocked the caller.