35 uint32_t assoc_stream_id;
40 struct SPDYF_Control_Frame *frame;
52 stream_id =
NTOH31(stream_id);
54 if(stream_id <= session->last_in_stream_id || 0==(stream_id % 2))
78 assoc_stream_id =
NTOH31(assoc_stream_id);
165 stream = stream->
next;
struct SPDYF_Stream * streams_head
void SPDYF_stream_destroy(struct SPDYF_Stream *stream)
#define SPDYF_INITIAL_WINDOW_SIZE
struct SPDYF_Control_Frame * control_frame
TCP connection/SPDY session handling.
void(* frame_handler)(struct SPDY_Session *session)
internal functions and macros for the framing layer
internal and public structures – most of the structs used by the library are defined here ...
uint32_t last_in_stream_id
struct SPDYF_Stream * next
#define SPDYF_DEBUG(fmt,...)
void SPDYF_stream_set_flags_on_write(struct SPDYF_Response_Queue *response_queue)
struct SPDYF_Data_Frame * data_frame
size_t read_buffer_beginning
_MHD_EXTERN void SPDY_name_value_destroy(struct SPDY_NameValue *container)
void SPDYF_handler_ignore_frame(struct SPDY_Session *session)
struct SPDYF_Stream * SPDYF_stream_find(uint32_t stream_id, struct SPDY_Session *session)
struct SPDY_NameValue * headers
#define DLL_insert(head, tail, element)
struct SPDYF_Stream * streams_tail
size_t read_buffer_offset
struct SPDYF_Stream * stream
int SPDYF_stream_new(struct SPDY_Session *session)
struct SPDY_Session * session