Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QHttpNetworkConnectionPrivate Class Reference

#include <qhttpnetworkconnection_p.h>

+ Inheritance diagram for QHttpNetworkConnectionPrivate:
+ Collaboration diagram for QHttpNetworkConnectionPrivate:

Classes

struct  ParseRedirectResult
 

Public Types

enum  ConnectionState { RunningState = 0 , PausedState = 1 }
 
enum  NetworkLayerPreferenceState {
  Unknown , HostLookupPending , IPv4 , IPv6 ,
  IPv4or6
}
 
enum  { ChunkSize = 4096 }
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Public Member Functions

 QHttpNetworkConnectionPrivate (quint16 connectionCount, const QString &hostName, quint16 port, bool encrypt, QHttpNetworkConnection::ConnectionType type)
 
 ~QHttpNetworkConnectionPrivate ()
 
void init ()
 
void pauseConnection ()
 
void resumeConnection ()
 
int indexOf (QIODevice *socket) const
 
QHttpNetworkReplyqueueRequest (const QHttpNetworkRequest &request)
 
void requeueRequest (const HttpMessagePair &pair)
 
void fillHttp2Queue ()
 
bool dequeueRequest (QIODevice *socket)
 
void prepareRequest (HttpMessagePair &request)
 
void updateChannel (int i, const HttpMessagePair &messagePair)
 
QHttpNetworkRequest predictNextRequest () const
 
QHttpNetworkReplypredictNextRequestsReply () const
 
void fillPipeline (QIODevice *socket)
 
bool fillPipeline (QList< HttpMessagePair > &queue, QHttpNetworkConnectionChannel &channel)
 
void readMoreLater (QHttpNetworkReply *reply)
 
void copyCredentials (int fromChannel, QAuthenticator *auth, bool isProxy)
 
void startHostInfoLookup ()
 
void startNetworkLayerStateLookup ()
 
void networkLayerDetected (QAbstractSocket::NetworkLayerProtocol protocol)
 
void _q_startNextRequest ()
 
void _q_hostLookupFinished (const QHostInfo &info)
 
void _q_connectDelayedChannel ()
 
void createAuthorization (QIODevice *socket, QHttpNetworkRequest &request)
 
QString errorDetail (QNetworkReply::NetworkError errorCode, QIODevice *socket, const QString &extraDetail=QString())
 
void removeReply (QHttpNetworkReply *reply)
 
bool shouldEmitChannelError (QIODevice *socket)
 
qint64 uncompressedBytesAvailable (const QHttpNetworkReply &reply) const
 
qint64 uncompressedBytesAvailableNextBlock (const QHttpNetworkReply &reply) const
 
void emitReplyError (QIODevice *socket, QHttpNetworkReply *reply, QNetworkReply::NetworkError errorCode)
 
bool handleAuthenticateChallenge (QIODevice *socket, QHttpNetworkReply *reply, bool isProxy, bool &resend)
 
QUrl parseRedirectResponse (QIODevice *socket, QHttpNetworkReply *reply)
 
void emitProxyAuthenticationRequired (const QHttpNetworkConnectionChannel *chan, const QNetworkProxy &proxy, QAuthenticator *auth)
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static ParseRedirectResult parseRedirectResponse (QHttpNetworkReply *reply)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Public Attributes

ConnectionState state = RunningState
 
NetworkLayerPreferenceState networkLayerState = Unknown
 
QString hostName
 
quint16 port
 
bool encrypt
 
bool delayIpv4 = true
 
int activeChannelCount
 
const int channelCount
 
QTimer delayedConnectionTimer
 
QHttpNetworkConnectionChannel *const channels
 
QNetworkProxy networkProxy
 
QList< HttpMessagePairhighPriorityQueue
 
QList< HttpMessagePairlowPriorityQueue
 
int preConnectRequests = 0
 
QHttpNetworkConnection::ConnectionType connectionType
 
std::shared_ptr< QSslContextsslContext
 
QHttp2Configuration http2Parameters
 
QString peerVerifyName
 
QNetworkConnectionMonitor connectionMonitor
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Static Public Attributes

static constexpr int defaultHttpChannelCount = 6
 
static const int defaultPipelineLength = 3
 
static const int defaultRePipelineLength = 2
 

Friends

class QHttpNetworkConnectionChannel
 

Detailed Description

Definition at line 134 of file qhttpnetworkconnection_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ChunkSize 

Definition at line 167 of file qhttpnetworkconnection_p.h.

◆ ConnectionState

Enumerator
RunningState 
PausedState 

Definition at line 144 of file qhttpnetworkconnection_p.h.

◆ NetworkLayerPreferenceState

Enumerator
Unknown 
HostLookupPending 
IPv4 
IPv6 
IPv4or6 

Definition at line 149 of file qhttpnetworkconnection_p.h.

Constructor & Destructor Documentation

◆ QHttpNetworkConnectionPrivate()

QHttpNetworkConnectionPrivate::QHttpNetworkConnectionPrivate ( quint16 connectionCount,
const QString & hostName,
quint16 port,
bool encrypt,
QHttpNetworkConnection::ConnectionType type )

Definition at line 53 of file qhttpnetworkconnection.cpp.

References activeChannelCount, channelCount, and Q_ASSERT.

◆ ~QHttpNetworkConnectionPrivate()

QHttpNetworkConnectionPrivate::~QHttpNetworkConnectionPrivate ( )

Definition at line 75 of file qhttpnetworkconnection.cpp.

References channelCount, channels, QAbstractSocket::close(), QObject::disconnect(), i, socket, and QHttpNetworkConnectionChannel::socket.

+ Here is the call graph for this function:

Member Function Documentation

◆ _q_connectDelayedChannel()

void QHttpNetworkConnectionPrivate::_q_connectDelayedChannel ( )

Definition at line 1323 of file qhttpnetworkconnection.cpp.

References channels, delayIpv4, and QHttpNetworkConnectionChannel::ensureConnection().

Referenced by init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _q_hostLookupFinished()

void QHttpNetworkConnectionPrivate::_q_hostLookupFinished ( const QHostInfo & info)

◆ _q_startNextRequest()

◆ copyCredentials()

void QHttpNetworkConnectionPrivate::copyCredentials ( int fromChannel,
QAuthenticator * auth,
bool isProxy )

Definition at line 354 of file qhttpnetworkconnection.cpp.

References activeChannelCount, QHttpNetworkConnectionChannel::authenticator, channels, QAuthenticatorPrivate::getPrivate(), i, QAuthenticatorPrivate::Negotiate, QAuthenticatorPrivate::Ntlm, priv(), QHttpNetworkConnectionChannel::proxyAuthenticator, Q_ASSERT, and QAuthenticator::setUser().

Referenced by emitProxyAuthenticationRequired(), and handleAuthenticateChallenge().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createAuthorization()

void QHttpNetworkConnectionPrivate::createAuthorization ( QIODevice * socket,
QHttpNetworkRequest & request )

Definition at line 554 of file qhttpnetworkconnection.cpp.

References channel, channels, QAuthenticatorPrivate::Done, QAuthenticatorPrivate::getPrivate(), QUrl::host(), QNetworkProxy::hostName(), indexOf(), QAuthenticatorPrivate::Negotiate, networkProxy, QAuthenticatorPrivate::None, QAuthenticatorPrivate::Ntlm, priv(), Q_ASSERT, request, socket, and QNetworkRequest::url().

+ Here is the call graph for this function:

◆ dequeueRequest()

bool QHttpNetworkConnectionPrivate::dequeueRequest ( QIODevice * socket)

Definition at line 690 of file qhttpnetworkconnection.cpp.

References highPriorityQueue, i, indexOf(), QList< T >::isEmpty(), lowPriorityQueue, prepareRequest(), socket, QList< T >::takeLast(), and updateChannel().

Referenced by _q_hostLookupFinished(), and _q_startNextRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emitProxyAuthenticationRequired()

void QHttpNetworkConnectionPrivate::emitProxyAuthenticationRequired ( const QHttpNetworkConnectionChannel * chan,
const QNetworkProxy & proxy,
QAuthenticator * auth )

Definition at line 1546 of file qhttpnetworkconnection.cpp.

References connectionType, QHttpNetworkConnection::ConnectionTypeHTTP2, QHttpNetworkConnection::ConnectionTypeHTTP2Direct, copyCredentials(), emit, i, indexOf(), pauseConnection(), proxy, Q_ASSERT, reply, and resumeConnection().

+ Here is the call graph for this function:

◆ emitReplyError()

void QHttpNetworkConnectionPrivate::emitReplyError ( QIODevice * socket,
QHttpNetworkReply * reply,
QNetworkReply::NetworkError errorCode )

Definition at line 323 of file qhttpnetworkconnection.cpp.

References channels, QHttpNetworkConnectionChannel::close(), emit, errorDetail(), QIODevice::errorString(), i, indexOf(), QMetaObject::invokeMethod(), QHttpNetworkConnectionChannel::protocolHandler, Qt::QueuedConnection, QHttpNetworkConnectionChannel::reply, reply, QHttpNetworkConnectionChannel::request, QHttpNetworkConnectionChannel::requeueCurrentlyPipelinedRequests(), and socket.

Referenced by _q_hostLookupFinished(), and parseRedirectResponse().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ errorDetail()

QString QHttpNetworkConnectionPrivate::errorDetail ( QNetworkReply::NetworkError errorCode,
QIODevice * socket,
const QString & extraDetail = QString() )

Definition at line 866 of file qhttpnetworkconnection.cpp.

References QNetworkReply::AuthenticationRequiredError, QNetworkReply::ConnectionRefusedError, QIODevice::errorString(), hostName, QNetworkReply::HostNotFoundError, QNetworkReply::InsecureRedirectError, QNetworkReply::ProtocolFailure, QNetworkReply::ProtocolUnknownError, QNetworkReply::ProxyAuthenticationRequiredError, QNetworkReply::RemoteHostClosedError, socket, QSocketAbstraction::socketPeerName(), QNetworkReply::SslHandshakeFailedError, QNetworkReply::TimeoutError, QNetworkReply::TooManyRedirectsError, and QCoreApplication::translate().

Referenced by emitReplyError(), and handleAuthenticateChallenge().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillHttp2Queue()

void QHttpNetworkConnectionPrivate::fillHttp2Queue ( )

Definition at line 653 of file qhttpnetworkconnection.cpp.

References channels, QList< T >::clear(), QHttpNetworkConnectionChannel::h2RequestsToSend, QHttpNetworkRequest::HighPriority, highPriorityQueue, QMultiMap< Key, T >::insert(), lowPriorityQueue, and prepareRequest().

+ Here is the call graph for this function:

◆ fillPipeline() [1/2]

◆ fillPipeline() [2/2]

bool QHttpNetworkConnectionPrivate::fillPipeline ( QList< HttpMessagePair > & queue,
QHttpNetworkConnectionChannel & channel )

Definition at line 827 of file qhttpnetworkconnection.cpp.

References channel, QHttpNetworkRequest::Get, i, QString::isEmpty(), prepareRequest(), queue, request, QNetworkRequest::url(), and QUrl::userInfo().

+ Here is the call graph for this function:

◆ handleAuthenticateChallenge()

◆ indexOf()

int QHttpNetworkConnectionPrivate::indexOf ( QIODevice * socket) const

Definition at line 139 of file qhttpnetworkconnection.cpp.

References activeChannelCount, channels, i, qFatal, and socket.

Referenced by createAuthorization(), dequeueRequest(), emitProxyAuthenticationRequired(), emitReplyError(), fillPipeline(), handleAuthenticateChallenge(), and shouldEmitChannelError().

+ Here is the caller graph for this function:

◆ init()

void QHttpNetworkConnectionPrivate::init ( )

Definition at line 87 of file qhttpnetworkconnection.cpp.

References _q_connectDelayedChannel(), channelCount, channels, QObject::connect(), delayedConnectionTimer, encrypt, i, QHttpNetworkConnectionChannel::setConnection(), QTimer::setSingleShot(), SIGNAL, SLOT, and QHttpNetworkConnectionChannel::ssl.

+ Here is the call graph for this function:

◆ networkLayerDetected()

void QHttpNetworkConnectionPrivate::networkLayerDetected ( QAbstractSocket::NetworkLayerProtocol protocol)

Definition at line 1314 of file qhttpnetworkconnection.cpp.

References activeChannelCount, channels, QHttpNetworkConnectionChannel::close(), QHttpNetworkConnectionChannel::ConnectingState, i, and state.

+ Here is the call graph for this function:

◆ parseRedirectResponse() [1/2]

QHttpNetworkConnectionPrivate::ParseRedirectResult QHttpNetworkConnectionPrivate::parseRedirectResponse ( QHttpNetworkReply * reply)
static

Definition at line 502 of file qhttpnetworkconnection.cpp.

References QUrl::fromEncoded(), QNetworkReply::header(), QUrl::host(), QNetworkReply::InsecureRedirectError, QUrl::isRelative(), QUrl::isValid(), QHttpHeaders::Location, QNetworkReply::NoError, QNetworkRequest::NoLessSafeRedirectPolicy, QUrl::port(), QNetworkReply::ProtocolUnknownError, Q_ASSERT, reply, QNetworkReply::request(), QUrl::resolved(), QNetworkRequest::SameOriginRedirectPolicy, QUrl::scheme(), QNetworkReply::TooManyRedirectsError, QNetworkRequest::url(), QNetworkRequest::UserVerifiedRedirectPolicy, and QHttpHeaders::values().

Referenced by parseRedirectResponse().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseRedirectResponse() [2/2]

QUrl QHttpNetworkConnectionPrivate::parseRedirectResponse ( QIODevice * socket,
QHttpNetworkReply * reply )

Definition at line 490 of file qhttpnetworkconnection.cpp.

References emitReplyError(), QNetworkReply::NoError, parseRedirectResponse(), reply, and socket.

+ Here is the call graph for this function:

◆ pauseConnection()

void QHttpNetworkConnectionPrivate::pauseConnection ( )

Definition at line 99 of file qhttpnetworkconnection.cpp.

References activeChannelCount, channels, encrypt, i, PausedState, QAbstractSocketPrivate::pauseSocketNotifiers(), QSslSocketPrivate::pauseSocketNotifiers(), socket, and state.

Referenced by emitProxyAuthenticationRequired(), and handleAuthenticateChallenge().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ predictNextRequest()

QHttpNetworkRequest QHttpNetworkConnectionPrivate::predictNextRequest ( ) const

Definition at line 725 of file qhttpnetworkconnection.cpp.

References highPriorityQueue, QList< T >::isEmpty(), QList< T >::last(), and lowPriorityQueue.

+ Here is the call graph for this function:

◆ predictNextRequestsReply()

QHttpNetworkReply * QHttpNetworkConnectionPrivate::predictNextRequestsReply ( ) const

Definition at line 734 of file qhttpnetworkconnection.cpp.

References highPriorityQueue, QList< T >::isEmpty(), QList< T >::last(), and lowPriorityQueue.

+ Here is the call graph for this function:

◆ prepareRequest()

void QHttpNetworkConnectionPrivate::prepareRequest ( HttpMessagePair & request)

Definition at line 222 of file qhttpnetworkconnection.cpp.

References QDecompressHelper::acceptedEncoding(), add(), hostName, QNetworkProxy::HttpCachingProxy, QAbstractSocket::IPv6Protocol, makeAcceptLanguage(), networkProxy, QByteArray::number(), QUrl::port(), Q_UNLIKELY, qFatal, reply, request, QNonContiguousByteDevice::size(), QUrl::toAce(), QString::toLatin1(), QNetworkProxy::type(), and QNetworkRequest::url().

Referenced by dequeueRequest(), fillHttp2Queue(), fillPipeline(), and queueRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ queueRequest()

◆ readMoreLater()

void QHttpNetworkConnectionPrivate::readMoreLater ( QHttpNetworkReply * reply)

Definition at line 1163 of file qhttpnetworkconnection.cpp.

References activeChannelCount, channels, i, QMetaObject::invokeMethod(), Qt::QueuedConnection, and reply.

+ Here is the call graph for this function:

◆ removeReply()

◆ requeueRequest()

void QHttpNetworkConnectionPrivate::requeueRequest ( const HttpMessagePair & pair)

Definition at line 672 of file qhttpnetworkconnection.cpp.

References QHttpNetworkRequest::HighPriority, highPriorityQueue, QMetaObject::invokeMethod(), QHttpNetworkRequest::LowPriority, lowPriorityQueue, QHttpNetworkRequest::NormalPriority, QList< T >::prepend(), QNetworkRequest::priority(), Qt::QueuedConnection, and request.

+ Here is the call graph for this function:

◆ resumeConnection()

void QHttpNetworkConnectionPrivate::resumeConnection ( )

Definition at line 116 of file qhttpnetworkconnection.cpp.

References activeChannelCount, channels, encrypt, i, QMetaObject::invokeMethod(), Qt::QueuedConnection, QAbstractSocketPrivate::resumeSocketNotifiers(), QSslSocketPrivate::resumeSocketNotifiers(), RunningState, socket, state, and QHttpNetworkConnectionChannel::WritingState.

Referenced by emitProxyAuthenticationRequired(), and handleAuthenticateChallenge().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ shouldEmitChannelError()

◆ startHostInfoLookup()

void QHttpNetworkConnectionPrivate::startHostInfoLookup ( )

Definition at line 1180 of file qhttpnetworkconnection.cpp.

References _q_hostLookupFinished(), QNetworkProxy::capabilities(), channels, HostLookupPending, hostName, QNetworkProxy::hostName(), QNetworkProxy::HostNameLookupCapability, QMetaObject::invokeMethod(), IPv4, QAbstractSocket::IPv4Protocol, IPv6, QAbstractSocket::IPv6Protocol, networkLayerState, networkProxy, QHostAddress::protocol(), QHttpNetworkConnectionChannel::proxy, proxy, qt_qhostinfo_lookup(), Qt::QueuedConnection, QHostAddress::setAddress(), and SLOT.

Referenced by queueRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ startNetworkLayerStateLookup()

void QHttpNetworkConnectionPrivate::startNetworkLayerStateLookup ( )

Definition at line 1289 of file qhttpnetworkconnection.cpp.

References activeChannelCount, QAbstractSocket::AnyIPProtocol, channels, delayedConnectionTimer, delayIpv4, QHttpNetworkConnectionChannel::ensureConnection(), IPv4or6, QAbstractSocket::IPv4Protocol, QAbstractSocket::IPv6Protocol, QHttpNetworkConnectionChannel::networkLayerPreference, networkLayerState, Q_ASSERT, and QTimer::start().

Referenced by _q_hostLookupFinished().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ uncompressedBytesAvailable()

qint64 QHttpNetworkConnectionPrivate::uncompressedBytesAvailable ( const QHttpNetworkReply & reply) const

Definition at line 201 of file qhttpnetworkconnection.cpp.

References reply.

◆ uncompressedBytesAvailableNextBlock()

qint64 QHttpNetworkConnectionPrivate::uncompressedBytesAvailableNextBlock ( const QHttpNetworkReply & reply) const

Definition at line 206 of file qhttpnetworkconnection.cpp.

References reply.

◆ updateChannel()

void QHttpNetworkConnectionPrivate::updateChannel ( int i,
const HttpMessagePair & messagePair )

Definition at line 716 of file qhttpnetworkconnection.cpp.

References channels, i, QHttpNetworkConnectionChannel::reply, and QHttpNetworkConnectionChannel::request.

Referenced by dequeueRequest().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ QHttpNetworkConnectionChannel

friend class QHttpNetworkConnectionChannel
friend

Definition at line 261 of file qhttpnetworkconnection_p.h.

Member Data Documentation

◆ activeChannelCount

◆ channelCount

const int QHttpNetworkConnectionPrivate::channelCount

◆ channels

◆ connectionMonitor

QNetworkConnectionMonitor QHttpNetworkConnectionPrivate::connectionMonitor

Definition at line 259 of file qhttpnetworkconnection_p.h.

◆ connectionType

◆ defaultHttpChannelCount

constexpr int QHttpNetworkConnectionPrivate::defaultHttpChannelCount = 6
staticconstexpr

Definition at line 140 of file qhttpnetworkconnection_p.h.

◆ defaultPipelineLength

const int QHttpNetworkConnectionPrivate::defaultPipelineLength = 3
static

Definition at line 141 of file qhttpnetworkconnection_p.h.

Referenced by fillPipeline().

◆ defaultRePipelineLength

const int QHttpNetworkConnectionPrivate::defaultRePipelineLength = 2
static

Definition at line 142 of file qhttpnetworkconnection_p.h.

Referenced by fillPipeline().

◆ delayedConnectionTimer

QTimer QHttpNetworkConnectionPrivate::delayedConnectionTimer

◆ delayIpv4

bool QHttpNetworkConnectionPrivate::delayIpv4 = true

◆ encrypt

bool QHttpNetworkConnectionPrivate::encrypt

Definition at line 207 of file qhttpnetworkconnection_p.h.

Referenced by init(), pauseConnection(), queueRequest(), and resumeConnection().

◆ highPriorityQueue

◆ hostName

QString QHttpNetworkConnectionPrivate::hostName

Definition at line 205 of file qhttpnetworkconnection_p.h.

Referenced by errorDetail(), prepareRequest(), and startHostInfoLookup().

◆ http2Parameters

QHttp2Configuration QHttpNetworkConnectionPrivate::http2Parameters

Definition at line 249 of file qhttpnetworkconnection_p.h.

◆ lowPriorityQueue

◆ networkLayerState

◆ networkProxy

QNetworkProxy QHttpNetworkConnectionPrivate::networkProxy

◆ peerVerifyName

QString QHttpNetworkConnectionPrivate::peerVerifyName

Definition at line 251 of file qhttpnetworkconnection_p.h.

◆ port

quint16 QHttpNetworkConnectionPrivate::port

Definition at line 206 of file qhttpnetworkconnection_p.h.

◆ preConnectRequests

int QHttpNetworkConnectionPrivate::preConnectRequests = 0

Definition at line 241 of file qhttpnetworkconnection_p.h.

Referenced by _q_startNextRequest(), and queueRequest().

◆ sslContext

std::shared_ptr<QSslContext> QHttpNetworkConnectionPrivate::sslContext

Definition at line 246 of file qhttpnetworkconnection_p.h.

◆ state

ConnectionState QHttpNetworkConnectionPrivate::state = RunningState

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