Lines Matching full:session
20 * @file session.h
21 * @brief TCP connection/SPDY session handling
32 * Called by the daemon when the socket for the session has available
34 * session's read buffer. The latte
36 * @param session SPDY_Session for which data will be read.
37 * @return SPDY_YES if something was read or session's status was
44 SPDYF_session_read (struct SPDY_Session *session);
48 * Called by the daemon when the socket for the session is ready for some
53 * @param session SPDY_Session for which data will be written.
57 * session->max_num_frames SPDY frames
58 * @return SPDY_YES if the session's internal writing state has changed:
59 * something was written and/or session's status was
68 SPDYF_session_write (struct SPDY_Session *session,
74 * buffer of a session. Based on the state and the content of the read
79 * @param session SPDY_Session which will be handled.
81 * session's status was changed and/or the session was closed.
82 * SPDY_NO if nothing happened, e.g. the session is in a state,
86 SPDYF_session_idle (struct SPDY_Session *session);
90 * This function shutdowns the socket, moves the session structure to
93 * @param session SPDY_Session which will be handled.
96 SPDYF_session_close (struct SPDY_Session *session);
100 * Called to accept new TCP connection and create SPDY session.
117 * @param session SPDY session for which the response is sent
127 struct SPDY_Session *session,
132 * Cleans up the TSL context for the session, closes the TCP connection,
133 * cleans up any data pointed by members of the session structure
135 * the session itself.
138 SPDYF_session_destroy(struct SPDY_Session *session);
143 * The session should be closed soon after this call.
145 * @param session SPDY session
153 SPDYF_prepare_goaway (struct SPDY_Session *session,
164 * @param session SPDY session
171 SPDYF_prepare_rst_stream (struct SPDY_Session *session,
181 * @param session SPDY session
188 SPDYF_prepare_window_update (struct SPDY_Session *session,
203 * the error is unrecoverable the handler changes session's
208 SPDYF_handler_write_data (struct SPDY_Session *session);
215 * @param session SPDY session
216 * @return SPDY_NO on error (zlib state is broken; the session MUST be
218 * the error is unrecoverable the handler changes session's
223 SPDYF_handler_write_syn_reply (struct SPDY_Session *session);
230 * @param session SPDY session
232 * session must be closed
237 SPDYF_handler_write_goaway (struct SPDY_Session *session);
244 * @param session SPDY session
246 * the error is unrecoverable the handler changes session's
251 SPDYF_handler_write_rst_stream (struct SPDY_Session *session);
258 * @param session SPDY session
260 * the error is unrecoverable the handler changes session's
265 SPDYF_handler_write_window_update (struct SPDY_Session *session);
276 * @param session SPDY_Session whose read buffer is used.
279 SPDYF_handler_ignore_frame (struct SPDY_Session *session);