proxygen
|
Variables | |
const uint32_t | kInitialWindow = 65536 |
const uint32_t | kMaxConcurrentStreams = 100 |
const uint32_t | kMaxFrameLength = (1 << 24) - 1 |
const size_t | SPDY_PRIO_SHIFT_FACTOR = 2 |
const std::string | kSessionProtoNameSPDY2 |
const std::string | kSessionProtoNameSPDY3 |
const std::string | httpVersion |
const std::string | kNameVersionv2 |
const std::string | kNameVersionv3 |
const std::string | kNameStatusv2 |
const std::string | kNameStatusv3 |
const std::string | kNameMethodv2 |
const std::string | kNameMethodv3 |
const std::string | kNamePathv2 |
const std::string | kNamePathv3 |
const std::string | kNameSchemev2 |
const std::string | kNameSchemev3 |
const std::string | kNameHostv3 |
const std::string | kVersionStrv2 |
const std::string | kVersionStrv3 |
const std::string | kVersionStrv31 |
Enumerator | |
---|---|
CTRL_FLAG_NONE | |
CTRL_FLAG_FIN | |
CTRL_FLAG_UNIDIRECTIONAL |
Definition at line 33 of file SPDYConstants.h.
Enumerator | |
---|---|
SYN_STREAM | |
SYN_REPLY | |
RST_STREAM | |
SETTINGS | |
NOOP | |
PING | |
GOAWAY | |
HEADERS | |
WINDOW_UPDATE | |
CREDENTIAL |
Definition at line 19 of file SPDYConstants.h.
The status codes for the GOAWAY control frame.
Enumerator | |
---|---|
GOAWAY_OK | |
GOAWAY_PROTOCOL_ERROR | |
GOAWAY_INTERNAL_ERROR | |
GOAWAY_FLOW_CONTROL_ERROR |
Definition at line 83 of file SPDYConstants.h.
The status codes for the RST_STREAM control frame.
Definition at line 64 of file SPDYConstants.h.
Enumerator | |
---|---|
FLAG_SETTINGS_NONE | |
FLAG_SETTINGS_CLEAR_SETTINGS |
Definition at line 39 of file SPDYConstants.h.
Definition at line 50 of file SPDYConstants.h.
Enumerator | |
---|---|
ID_FLAG_SETTINGS_NONE | |
ID_FLAG_SETTINGS_PERSIST_VALUE | |
ID_FLAG_SETTINGS_PERSISTED |
Definition at line 44 of file SPDYConstants.h.
GoawayStatusCode proxygen::spdy::errorCodeToGoaway | ( | ErrorCode | code | ) |
Definition at line 14 of file SPDYConstants.cpp.
References proxygen::_SPDY_INVALID_STREAM, proxygen::CANCEL, proxygen::COMPRESSION_ERROR, proxygen::CONNECT_ERROR, proxygen::ENHANCE_YOUR_CALM, proxygen::FLOW_CONTROL_ERROR, proxygen::FRAME_SIZE_ERROR, GOAWAY_FLOW_CONTROL_ERROR, GOAWAY_INTERNAL_ERROR, GOAWAY_OK, GOAWAY_PROTOCOL_ERROR, proxygen::HTTP_1_1_REQUIRED, proxygen::INADEQUATE_SECURITY, proxygen::INTERNAL_ERROR, proxygen::NO_ERROR, proxygen::PROTOCOL_ERROR, proxygen::REFUSED_STREAM, proxygen::SETTINGS_TIMEOUT, and proxygen::STREAM_CLOSED.
Referenced by proxygen::SPDYCodec::generateGoaway().
ResetStatusCode proxygen::spdy::errorCodeToReset | ( | ErrorCode | code | ) |
Definition at line 35 of file SPDYConstants.cpp.
References proxygen::_SPDY_INVALID_STREAM, proxygen::CANCEL, proxygen::COMPRESSION_ERROR, proxygen::CONNECT_ERROR, proxygen::ENHANCE_YOUR_CALM, proxygen::FLOW_CONTROL_ERROR, proxygen::FRAME_SIZE_ERROR, proxygen::HTTP_1_1_REQUIRED, proxygen::INADEQUATE_SECURITY, proxygen::INTERNAL_ERROR, proxygen::NO_ERROR, proxygen::PROTOCOL_ERROR, proxygen::REFUSED_STREAM, RST_CANCEL, RST_FLOW_CONTROL_ERROR, RST_FRAME_TOO_LARGE, RST_INTERNAL_ERROR, RST_INVALID_CREDENTIALS, RST_INVALID_STREAM, RST_PROTOCOL_ERROR, RST_REFUSED_STREAM, RST_STREAM_ALREADY_CLOSED, proxygen::SETTINGS_TIMEOUT, and proxygen::STREAM_CLOSED.
Referenced by proxygen::SPDYCodec::generateRstStream().
ErrorCode proxygen::spdy::goawayToErrorCode | ( | GoawayStatusCode | code | ) |
Definition at line 56 of file SPDYConstants.cpp.
References proxygen::FLOW_CONTROL_ERROR, GOAWAY_FLOW_CONTROL_ERROR, GOAWAY_INTERNAL_ERROR, GOAWAY_OK, GOAWAY_PROTOCOL_ERROR, proxygen::INTERNAL_ERROR, proxygen::NO_ERROR, and proxygen::PROTOCOL_ERROR.
Referenced by proxygen::SPDYCodec::failSession(), and proxygen::SPDYCodec::onGoaway().
folly::Optional< proxygen::spdy::SettingsId > proxygen::spdy::httpToSpdySettingsId | ( | proxygen::SettingsId | id | ) |
Definition at line 83 of file SPDYConstants.cpp.
References proxygen::_HQ_HEADER_TABLE_SIZE, proxygen::_HQ_MAX_HEADER_LIST_SIZE, proxygen::_HQ_NUM_PLACEHOLDERS, proxygen::_HQ_QPACK_BLOCKED_STREAMS, proxygen::_SPDY_CLIENT_CERTIFICATE_VECTOR_SIZE, proxygen::_SPDY_CURRENT_CWND, proxygen::_SPDY_DOWNLOAD_BANDWIDTH, proxygen::_SPDY_DOWNLOAD_RETRANS_RATE, proxygen::_SPDY_ROUND_TRIP_TIME, proxygen::_SPDY_UPLOAD_BANDWIDTH, proxygen::ENABLE_CONNECT_PROTOCOL, proxygen::ENABLE_EX_HEADERS, proxygen::ENABLE_PUSH, proxygen::HEADER_TABLE_SIZE, proxygen::INITIAL_WINDOW_SIZE, proxygen::MAX_CONCURRENT_STREAMS, proxygen::MAX_FRAME_SIZE, proxygen::MAX_HEADER_LIST_SIZE, folly::none, SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE, SETTINGS_CURRENT_CWND, SETTINGS_DOWNLOAD_BANDWIDTH, SETTINGS_DOWNLOAD_RETRANS_RATE, proxygen::SETTINGS_HTTP_CERT_AUTH, SETTINGS_INITIAL_WINDOW_SIZE, SETTINGS_MAX_CONCURRENT_STREAMS, SETTINGS_ROUND_TRIP_TIME, SETTINGS_UPLOAD_BANDWIDTH, proxygen::THRIFT_CHANNEL_ID, and proxygen::THRIFT_CHANNEL_ID_DEPRECATED.
Referenced by proxygen::SPDYCodec::generateSettings().
const std::string proxygen::spdy::httpVersion | ( | "HTTP/1.1" | ) |
const std::string proxygen::spdy::kNameHostv3 | ( | ":host" | ) |
const std::string proxygen::spdy::kNameMethodv2 | ( | "method" | ) |
const std::string proxygen::spdy::kNameMethodv3 | ( | ":method" | ) |
const std::string proxygen::spdy::kNamePathv2 | ( | "url" | ) |
const std::string proxygen::spdy::kNamePathv3 | ( | ":path" | ) |
const std::string proxygen::spdy::kNameSchemev2 | ( | "scheme" | ) |
const std::string proxygen::spdy::kNameSchemev3 | ( | ":scheme" | ) |
const std::string proxygen::spdy::kNameStatusv2 | ( | "status" | ) |
const std::string proxygen::spdy::kNameStatusv3 | ( | ":status" | ) |
const std::string proxygen::spdy::kNameVersionv2 | ( | "version" | ) |
const std::string proxygen::spdy::kNameVersionv3 | ( | ":version" | ) |
const std::string proxygen::spdy::kSessionProtoNameSPDY3 | ( | "spdy/3" | ) |
const std::string proxygen::spdy::kVersionStrv2 | ( | "spdy/2" | ) |
const std::string proxygen::spdy::kVersionStrv3 | ( | "spdy/3" | ) |
const std::string proxygen::spdy::kVersionStrv31 | ( | "spdy/3.1" | ) |
Definition at line 66 of file SPDYConstants.cpp.
References proxygen::_SPDY_INVALID_STREAM, proxygen::CANCEL, proxygen::FLOW_CONTROL_ERROR, proxygen::FRAME_SIZE_ERROR, proxygen::INADEQUATE_SECURITY, proxygen::INTERNAL_ERROR, proxygen::PROTOCOL_ERROR, proxygen::REFUSED_STREAM, RST_CANCEL, RST_FLOW_CONTROL_ERROR, RST_FRAME_TOO_LARGE, RST_INTERNAL_ERROR, RST_INVALID_CREDENTIALS, RST_INVALID_STREAM, RST_PROTOCOL_ERROR, RST_REFUSED_STREAM, RST_STREAM_ALREADY_CLOSED, RST_STREAM_IN_USE, RST_UNSUPPORTED_VERSION, and proxygen::STREAM_CLOSED.
Referenced by proxygen::SPDYCodec::failStream(), proxygen::SPDYCodec::onRstStream(), and TEST().
folly::Optional< proxygen::SettingsId > proxygen::spdy::spdyToHttpSettingsId | ( | proxygen::spdy::SettingsId | id | ) |
Definition at line 125 of file SPDYConstants.cpp.
References proxygen::INITIAL_WINDOW_SIZE, proxygen::MAX_CONCURRENT_STREAMS, folly::none, SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE, SETTINGS_CURRENT_CWND, SETTINGS_DOWNLOAD_BANDWIDTH, SETTINGS_DOWNLOAD_RETRANS_RATE, SETTINGS_INITIAL_WINDOW_SIZE, SETTINGS_MAX_CONCURRENT_STREAMS, SETTINGS_ROUND_TRIP_TIME, and SETTINGS_UPLOAD_BANDWIDTH.
Referenced by proxygen::SPDYCodec::onSettings().
const std::string proxygen::spdy::httpVersion |
Referenced by proxygen::SPDYCodec::encodeHeaders().
const uint32_t proxygen::spdy::kInitialWindow = 65536 |
Definition at line 144 of file SPDYConstants.cpp.
Referenced by TEST_F().
const uint32_t proxygen::spdy::kMaxConcurrentStreams = 100 |
Definition at line 145 of file SPDYConstants.cpp.
Referenced by proxygen::SPDYCodec::onSynStream(), and TEST().
const uint32_t proxygen::spdy::kMaxFrameLength = (1 << 24) - 1 |
Definition at line 146 of file SPDYConstants.cpp.
const std::string proxygen::spdy::kNameHostv3 |
Referenced by proxygen::SPDYCodec::getVersionSettings(), and TEST().
const std::string proxygen::spdy::kNameMethodv2 |
Referenced by proxygen::SPDYCodec::isSPDYReserved().
const std::string proxygen::spdy::kNameMethodv3 |
Referenced by proxygen::SPDYCodec::getVersionSettings(), and TEST().
const std::string proxygen::spdy::kNamePathv2 |
Referenced by proxygen::SPDYCodec::isSPDYReserved().
const std::string proxygen::spdy::kNamePathv3 |
Referenced by proxygen::SPDYCodec::getVersionSettings(), and TEST().
const std::string proxygen::spdy::kNameSchemev2 |
Referenced by proxygen::SPDYCodec::isSPDYReserved().
const std::string proxygen::spdy::kNameSchemev3 |
Referenced by proxygen::SPDYCodec::getVersionSettings(), and TEST().
const std::string proxygen::spdy::kNameStatusv2 |
Referenced by proxygen::SPDYCodec::isSPDYReserved().
const std::string proxygen::spdy::kNameStatusv3 |
Referenced by proxygen::SPDYCodec::getVersionSettings(), and TEST().
const std::string proxygen::spdy::kNameVersionv2 |
Referenced by proxygen::SPDYCodec::isSPDYReserved().
const std::string proxygen::spdy::kNameVersionv3 |
Referenced by proxygen::SPDYCodec::getVersionSettings(), and TEST().
const std::string proxygen::spdy::kSessionProtoNameSPDY2 |
const std::string proxygen::spdy::kSessionProtoNameSPDY3 |
Referenced by proxygen::SPDYCodec::getVersionSettings().
const std::string proxygen::spdy::kVersionStrv2 |
Referenced by proxygen::getPriorityMessage().
const std::string proxygen::spdy::kVersionStrv3 |
Referenced by proxygen::SPDYCodec::getVersionSettings().
const std::string proxygen::spdy::kVersionStrv31 |
Referenced by proxygen::SPDYCodec::getVersionSettings().
const size_t proxygen::spdy::SPDY_PRIO_SHIFT_FACTOR = 2 |
Definition at line 177 of file SPDYConstants.cpp.