structures only for the application layer More...
#include "platform.h"
#include "alstructures.h"
#include "internal.h"
Go to the source code of this file.
Functions | |
void | SPDY_destroy_request (struct SPDY_Request *request) |
structures only for the application layer
Definition in file alstructures.c.
void SPDY_destroy_request | ( | struct SPDY_Request * | request | ) |
Destroy a request structure. It should be called for all objects received as a parameter in SPDY_NewRequestCallback to free the memory associated with the request. It is safe to call this function not before being sure that the request will not be used by the lib anymore, this means after the stream, on which this request had been sent, was closed and all SPDY_ResponseResultCallback callbacks were called for all calls to SPDY_queue_response() passing this request object.
request | to destroy |
Definition at line 30 of file alstructures.c.
References SPDY_Request::headers, NULL, SPDY_name_value_destroy(), and SPDYF_DEBUG.
Referenced by response_done_callback(), run(), spdy_callback_response_done(), and spdy_handler_new_stream().