src/microspdy/alstructures.c File Reference

structures only for the application layer More...

#include "platform.h"
#include "alstructures.h"
#include "internal.h"
Include dependency graph for alstructures.c:

Go to the source code of this file.

Functions

void SPDY_destroy_request (struct SPDY_Request *request)

Detailed Description

structures only for the application layer

Author:
Andrey Uzunov

Definition in file alstructures.c.


Function Documentation

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.

Parameters:
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().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 14 Oct 2014 for GNU libmicrohttpd by  doxygen 1.6.1