ClientHttpRequest::Out Struct Reference

#include <client_side_request.h>

Collaboration diagram for ClientHttpRequest::Out:

Public Member Functions

 Out ()

Public Attributes

int64_t offset
uint64_t size
 Response header and body bytes written to the client connection. More...
size_t headers_sz

Detailed Description

Definition at line 109 of file client_side_request.h.

Constructor & Destructor Documentation

◆ Out()

ClientHttpRequest::Out::Out ( )

Definition at line 110 of file client_side_request.h.

Member Data Documentation

◆ headers_sz

size_t ClientHttpRequest::Out::headers_sz

Response header bytes written to the client connection. Not to be confused with clientReplyContext::headers_sz.

Definition at line 122 of file client_side_request.h.

Referenced by ClientHttpRequest::logRequest(), clientReplyContext::storeNotOKTransferDone(), and tunnelConnectedWriteDone().

◆ offset

int64_t ClientHttpRequest::Out::offset

Roughly speaking, this offset points to the next body byte we want to receive from Store. Without Ranges (and I/O errors), we should have received (and written to the client) all the previous bytes. XXX: The offset is updated by various receive-write steps, making its exact meaning illusive. Its Out class placement is confusing.

Definition at line 117 of file client_side_request.h.

Referenced by clientHttpRequestStatus(), clientProcessRequest(), clientReplyContext::doGetMoreData(), esiBufferRecipient(), ClientHttpRequest::gotEnough(), Downloader::handleReply(), ClientHttpRequest::httpStart(), ClientHttpRequest::logRequest(), clientReplyContext::processExpired(), clientReplyContext::processMiss(), clientReplyContext::purgeFoundObject(), clientReplyContext::replyStatus(), clientReplyContext::sendMoreData(), ConnStateData::serveDelayedError(), statClientRequests(), and clientReplyContext::storeOKTransferDone().

◆ size

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






Web Site Translations