ClientHttpRequest::Out Struct Reference

#include <client_side_request.h>

Collaboration diagram for ClientHttpRequest::Out:

Public Attributes

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

Detailed Description

Definition at line 148 of file client_side_request.h.

Member Data Documentation

◆ headers_sz

size_t ClientHttpRequest::Out::headers_sz = 0

◆ offset

int64_t ClientHttpRequest::Out::offset = 0

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 154 of file client_side_request.h.

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

◆ size

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






Web Site Translations