GNUnet  0.11.x
Data Fields
ServerRequest Struct Reference

Information we keep with MHD for an HTTP request. More...

#include </home/handbook/gnunet/src/transport/plugin_transport_http.h>

Collaboration diagram for ServerRequest:
[legend]

Data Fields

int direction
 _RECV or _SEND More...
 
int disconnect
 Should this connection get disconnected? GNUNET_YES / GNUNET_NO. More...
 
struct GNUNET_ATS_Sessionsession
 The session this server connection belongs to. More...
 
struct MHD_Connection * mhd_conn
 The MHD connection. More...
 
struct MHD_Daemon * mhd_daemon
 The MHD daemon. More...
 
uint32_t options
 Options requested by peer. More...
 
int connected
 For PUT requests: Is this the first or last callback with size 0 For GET requests: Have we sent a message. More...
 
bool suspended
 Currently suspended. More...
 

Detailed Description

Information we keep with MHD for an HTTP request.

Definition at line 320 of file plugin_transport_http.h.

Field Documentation

◆ direction

int ServerRequest::direction

_RECV or _SEND

Definition at line 325 of file plugin_transport_http.h.

Referenced by server_access_cb(), server_disconnect_cb(), and server_lookup_connection().

◆ disconnect

int ServerRequest::disconnect

Should this connection get disconnected? GNUNET_YES / GNUNET_NO.

Definition at line 330 of file plugin_transport_http.h.

◆ session

struct GNUNET_ATS_Session * ServerRequest::session

The session this server connection belongs to.

The session this server request belongs to Can be NULL, when session was disconnected and freed.

Definition at line 335 of file plugin_transport_http.h.

Referenced by destroy_session_shutdown_cb(), send_session_info_iter(), server_access_cb(), server_delete_session(), server_disconnect_cb(), server_lookup_connection(), and server_send_callback().

◆ mhd_conn

struct MHD_Connection * ServerRequest::mhd_conn

◆ mhd_daemon

struct MHD_Daemon* ServerRequest::mhd_daemon

◆ options

uint32_t ServerRequest::options

Options requested by peer.

Definition at line 87 of file plugin_transport_http_server.c.

Referenced by server_lookup_connection(), and server_send_callback().

◆ connected

int ServerRequest::connected

For PUT requests: Is this the first or last callback with size 0 For GET requests: Have we sent a message.

Definition at line 99 of file plugin_transport_http_server.c.

Referenced by server_access_cb(), server_lookup_connection(), and server_send_callback().

◆ suspended

bool ServerRequest::suspended

The documentation for this struct was generated from the following files: