Apache HTTPD
Classes | Functions | Variables
h2_bucket_eos.c File Reference
#include <assert.h>
#include <stddef.h>
#include <httpd.h>
#include <http_core.h>
#include <http_connection.h>
#include <http_log.h>
#include <http_protocol.h>
#include "h2_private.h"
#include "h2.h"
#include "h2_mplx.h"
#include "h2_stream.h"
#include "h2_bucket_eos.h"

Go to the source code of this file.

Classes

struct  h2_bucket_eos
 

Functions

static apr_status_t bucket_cleanup (void *data)
 
static apr_status_t bucket_read (apr_bucket *b, const char **str, apr_size_t *len, apr_read_type_e block)
 
apr_bucketh2_bucket_eos_make (apr_bucket *b, h2_stream *stream)
 
apr_bucketh2_bucket_eos_create (apr_bucket_alloc_t *list, h2_stream *stream)
 
static void bucket_destroy (void *data)
 

Variables

const apr_bucket_type_t h2_bucket_type_eos
 

Function Documentation

◆ bucket_cleanup()

static apr_status_t bucket_cleanup ( void *  data)
static

Definition at line 37 of file h2_bucket_eos.c.

◆ bucket_destroy()

static void bucket_destroy ( void *  data)
static

Definition at line 88 of file h2_bucket_eos.c.

◆ bucket_read()

static apr_status_t bucket_read ( apr_bucket b,
const char **  str,
apr_size_t len,
apr_read_type_e  block 
)
static

Definition at line 49 of file h2_bucket_eos.c.

◆ h2_bucket_eos_create()

apr_bucket * h2_bucket_eos_create ( apr_bucket_alloc_t list,
h2_stream stream 
)

Definition at line 72 of file h2_bucket_eos.c.

◆ h2_bucket_eos_make()

apr_bucket * h2_bucket_eos_make ( apr_bucket b,
h2_stream stream 
)

Definition at line 59 of file h2_bucket_eos.c.

Variable Documentation

◆ h2_bucket_type_eos

const apr_bucket_type_t h2_bucket_type_eos
Initial value:
= {
"H2EOS", 5, APR_BUCKET_METADATA,
}
apr_size_t size
static void bucket_destroy(void *data)
static apr_status_t bucket_read(apr_bucket *b, const char **str, apr_size_t *len, apr_read_type_e block)

End Of HTTP/2 STREAM (H2EOS) bucket

Definition at line 104 of file h2_bucket_eos.c.