Name Description Size Coverage
AltDataOutputStreamChild.cpp stabilize 5188 -
AltDataOutputStreamChild.h 1715 -
AltDataOutputStreamParent.cpp 2289 -
AltDataOutputStreamParent.h 1889 -
AlternateServices.cpp RFC 7838 Alternative Services http://httpwg.org/http-extensions/opsec.html note that connections currently do not do mixed-scheme (the I attribute in the ConnectionInfo prevents it) but could, do not honor tls-commit and should not, and always require authentication 50437 -
AlternateServices.h Alt-Svc allows separation of transport routing from the origin host without using a proxy. See https://httpwg.github.io/http-extensions/alt-svc.html and https://tools.ietf.org/html/draft-ietf-httpbis-alt-svc-06 Nice To Have Future Enhancements:: flush on network change event when we have an indicator use established https channel for http instead separate of conninfo hash pin via http-tls header clear based on origin when a random fail happens not just 421 upon establishment of channel, cancel and retry trans that have not yet written anything persistent storage (including private browsing filter) memory reporter for cache, but this is rather tiny 10669 -
AltServiceChild.cpp 3194 -
AltServiceChild.h 1394 -
AltServiceParent.cpp 2089 -
AltServiceParent.h 1325 -
AltSvcTransactionChild.cpp 2411 -
AltSvcTransactionChild.h 1134 -
AltSvcTransactionParent.cpp 2250 -
AltSvcTransactionParent.h 1531 -
ASpdySession.cpp Currently supported is h2 1648 -
ASpdySession.h 4352 -
BackgroundChannelRegistrar.cpp 2847 -
BackgroundChannelRegistrar.h 1879 -
BackgroundDataBridgeChild.cpp 1817 -
BackgroundDataBridgeChild.h 1397 -
BackgroundDataBridgeParent.cpp 2444 -
BackgroundDataBridgeParent.h 1263 -
binary_http -
BinaryHttpRequest.cpp 1341 -
BinaryHttpRequest.h 1538 -
CacheControlParser.cpp 3598 -
CacheControlParser.h 1336 -
CacheEntryWriteHandleChild.h CacheEntryWriteHandleChild is a wrapper for nsICacheEntry, for the asynchronous OpenAlternativeOutputStream call. 1148 -
CacheEntryWriteHandleParent.h CacheEntryWriteHandleParent is a wrapper for nsICacheEntry, for the asynchronous OpenAlternativeOutputStream call. 1212 -
Capsule.cpp 4813 -
Capsule.h 8347 -
CapsuleDecoder.cpp 1693 -
CapsuleDecoder.h 1280 -
CapsuleEncoder.cpp 6351 -
CapsuleEncoder.h 1940 -
CapsuleParser.cpp 7654 -
CapsuleParser.h 2878 -
ClassOfService.h 2068 -
components.conf 2158 -
ConnectionDiagnostics.cpp 9249 -
ConnectionEntry.cpp 38035 -
ConnectionEntry.h 9997 -
ConnectionHandle.cpp 2844 -
ConnectionHandle.h 1323 -
DnsAndConnectSocket.cpp 51731 -
DnsAndConnectSocket.h State: INIT: initial state. From this state: 1) change the state to RESOLVING and start the primary DNS lookup if mSkipDnsResolution is false, 2) or the lookup is skip and the state changes to CONNECTING and start the backup timer. 3) or changes to DONE in case of an error. RESOLVING: the primary DNS resolution is in progress. From this state we transition into CONNECTING or DONE. CONNECTING: We change to this state when the primary connection has started. At that point the backup timer is started. ONE_CONNECTED: We change into this state when one of the connections is connected and the second is in progres. DONE Events: INIT_EVENT: Start the primary dns resolution (if mSkipDnsResolution is false), otherwise start the primary connection. RESOLVED_PRIMARY_EVENT: the primary DNS resolution is done. This event may be resent due to DNS retries CONNECTED_EVENT: A connecion (primary or backup) is done 9239 -
EarlyHintPreconnect.cpp 2893 -
EarlyHintPreconnect.h 773 -
EarlyHintPreloader.cpp aDeleteEntry 31436 -
EarlyHintPreloader.h 7407 -
EarlyHintRegistrar.cpp aDeleteEntry 3734 -
EarlyHintRegistrar.h Registrar for pairing EarlyHintPreloader and HttpChannelParent via earlyHintPreloaderId. EarlyHintPreloader has to be registered first. EarlyHintPreloader::OnParentReady will be invoked to notify the EarlyHintpreloader about the existence of the associated HttpChannelParent. 2677 -
EarlyHintsService.cpp 5732 -
EarlyHintsService.h 1576 -
HPKEConfigManager.sys.mjs Decodes a base64url-encoded key string. @param {string} aBase64Key @returns {Uint8Array} 2333 -
http2_huffman_table.txt 17733 -
Http2Compression.cpp 44964 -
Http2Compression.h 6459 -
Http2HuffmanIncoming.h THIS FILE IS AUTO-GENERATED. DO NOT EDIT! 45369 -
Http2HuffmanOutgoing.h THIS FILE IS AUTO-GENERATED. DO NOT EDIT! 5266 -
Http2Session.cpp 151769 -
Http2Session.h HTTP/2 framing 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Length (16) | Type (8) | Flags (8) | +-+-------------+---------------+-------------------------------+ |R| Stream Identifier (31) | +-+-------------------------------------------------------------+ | Frame Data (0...) ... +---------------------------------------------------------------+ 26735 -
Http2Stream.cpp 5096 -
Http2Stream.h 1855 -
Http2StreamBase.cpp stablize 47967 -
Http2StreamBase.h 13133 -
Http2StreamTunnel.cpp 20698 -
Http2StreamTunnel.h 4544 -
Http2WebTransportSession.cpp 23546 -
Http2WebTransportSession.h 8185 -
Http2WebTransportStream.cpp 15198 -
Http2WebTransportStream.h 3788 -
Http3ConnectUDPStream.cpp 10630 -
Http3ConnectUDPStream.h 3073 -
Http3Session.cpp 109319 -
Http3Session.h 20051 -
Http3Stream.cpp 16119 -
Http3Stream.h SendStreamState: While sending request: - PREPARING_HEADERS: In this state we are collecting the headers and in some cases also waiting to be able to create a new stream. We need to read all headers into a buffer before calling Http3Session::TryActivating. Neqo may not have place for a new stream if it hits MAX_STREAMS limit. In that case the steam will be queued and dequeue when neqo can again create new stream (RequestsCreatable will be called). If transaction has data to send state changes to SENDING_BODY, otherwise the state transfers to READING_HEADERS. - SENDING_BODY: The stream will be in this state while the transaction is sending request body. Http3Session::SendRequestBody will be call to give the data to neqo. After SENDING_BODY, the state transfers to READING_HEADERS. - EARLY_RESPONSE: The server may send STOP_SENDING frame with error HTTP_NO_ERROR. That error means that the server is not interested in the request body. In this state the server will just ignore the request body. 5719 -
Http3StreamBase.h 2688 -
Http3StreamTunnel.cpp 23170 -
Http3StreamTunnel.h 4009 -
Http3WebTransportSession.cpp 17595 -
Http3WebTransportSession.h 4600 -
Http3WebTransportStream.cpp 20667 -
Http3WebTransportStream.h 3949 -
HttpAuthUtils.cpp host: bar.com foo.bar.com foobar.com foo.bar.com bar.com pref: bar.com bar.com bar.com .bar.com .bar.com result: accept accept reject accept reject 4716 -
HttpAuthUtils.h Tries to match the given URI against the value of a given pref The pref should be in pseudo-BNF format. url-list base-url ( base-url "," LWS )* base-url ( scheme-part | host-part | scheme-part host-part ) scheme-part scheme "://" host-part host [":" port] for example: "https://, http://office.foo.com" Will return true if the URI matches any of the patterns, or false otherwise. 922 -
HttpBackgroundChannelChild.cpp 16599 -
HttpBackgroundChannelChild.h 5933 -
HttpBackgroundChannelParent.cpp Helper class for continuing the AsyncOpen procedure on main thread. 16944 -
HttpBackgroundChannelParent.h 4715 -
HttpBaseChannel.cpp 228874 -
HttpBaseChannel.h This class is a partial implementation of nsIHttpChannel. It contains code shared by nsHttpChannel and HttpChannelChild. - Note that this class has nothing to do with nsBaseChannel, which is an earlier effort at a base class for channels that somehow never made it all the way to the HTTP channel. 48245 -
HttpChannelChild.cpp 123183 -
HttpChannelChild.h 21210 -
HttpChannelParams.ipdlh 2199 -
HttpChannelParent.cpp 79148 -
HttpChannelParent.h 14344 -
HttpConnectionBase.cpp The returned telemetry key has the format: "Version_EndToEndSSL_IsTrrServiceChannel_ExperienceState_ConnectionState" - Version: The HTTP version of the connection. - EndToEndSSL: Indicates whether SSL encryption is end-to-end. - IsTrrServiceChannel: Specifies if the connection is used to send TRR requests. - ExperienceState: ConnectionExperienceState - ConnectionState: The connection state before closing. 5717 -
HttpConnectionBase.h 10807 -
HttpConnectionMgrChild.cpp 6314 -
HttpConnectionMgrChild.h 2202 -
HttpConnectionMgrParent.cpp 10391 -
HttpConnectionMgrParent.h 1469 -
HttpConnectionMgrShell.h 10710 -
HttpConnectionUDP.cpp 39959 -
HttpConnectionUDP.h 5255 -
HttpInfo.cpp 783 -
HttpInfo.h Calls getConnectionData method in nsHttpConnectionMgr. 655 -
HttpLog.h This file should ONLY be #included by source (.cpp) files in the /http directory, not headers (.h). If you need to use LOG() in a .h file, call PR_LOG directly. This file should also be the first #include in your file. Yes, this is kludgy. ***************************************************************************** 2757 -
HTTPSRecordResolver.cpp 6125 -
HTTPSRecordResolver.h 1650 -
HttpTrafficAnalyzer.cpp 11275 -
HttpTrafficAnalyzer.h 1598 -
HttpTrafficAnalyzer.inc 4817 -
HttpTransactionChild.cpp 22660 -
HttpTransactionChild.h 5232 -
HttpTransactionParent.cpp stabilize 30924 -
HttpTransactionParent.h 7767 -
HttpTransactionShell.h 11675 -
HttpWinUtils.cpp merge 3877 -
HttpWinUtils.h 431 -
InterceptedHttpChannel.cpp 53900 -
InterceptedHttpChannel.h InterceptionTimeStamps is used to record the time stamps of the interception. The general usage: Step 1. Initialize the InterceptionTimeStamps; InterceptionTimeStamps::Init(channel); Step 2. Record time for each stage InterceptionTimeStamps::RecordTime(); or InterceptionTimeStamps::RecordTime(timeStamp); Step 3. Record time for the last stage with the final status InterceptionTimeStamps::RecordTime(InterceptionTimeStamps::Synthesized); 11462 -
make_incoming_tables.py 5798 -
make_outgoing_tables.py /* * THIS FILE IS AUTO-GENERATED. DO NOT EDIT! */ #ifndef mozilla__net__Http2HuffmanOutgoing_h #define mozilla__net__Http2HuffmanOutgoing_h namespace mozilla { namespace net { struct HuffmanOutgoingEntry { uint32_t mValue; uint8_t mLength; }; static const HuffmanOutgoingEntry HuffmanOutgoing[] = { 1473 -
metrics.yaml 93057 -
MicrosoftEntraSSOUtils.h 673 -
MicrosoftEntraSSOUtils.mm 15143 -
MockHttpAuth.cpp 1680 -
MockHttpAuth.h 792 -
moz.build 6869 -
NetworkErrorLogging.sys.mjs 13957 -
NetworkMarker.cpp 18737 -
NetworkMarker.h 1609 -
nsAHttpConnection.cpp stablize 1579 -
nsAHttpConnection.h 15529 -
nsAHttpTransaction.h Xlib headers insist on this for some reason... Nuke it because it'll override our member name 13677 -
nsCORSListenerProxy.cpp 65366 -
nsCORSListenerProxy.h 5258 -
nsHttp.cpp 36735 -
nsHttp.h 18474 -
nsHttpActivityDistributor.cpp 9875 -
nsHttpActivityDistributor.h 1168 -
nsHttpAtomList.inc This file contains the list of all HTTP atoms See nsHttp.h for access to the atoms. It is designed to be used as inline input to nsHttp.cpp *only* through the magic of C preprocessing. All entries must be enclosed in the macro HTTP_ATOM which will have cruel and unusual things done to it. The first argument to HTTP_ATOM is the C++ name of the atom. The second argument to HTTP_ATOM is the string value of the atom. **** 4826 -
nsHttpAuthCache.cpp 13585 -
nsHttpAuthCache.h 7978 -
nsHttpAuthManager.cpp static 3835 -
nsHttpAuthManager.h 912 -
nsHttpBasicAuth.cpp 3549 -
nsHttpBasicAuth.h 1120 -
nsHttpChannel.cpp 448121 -
nsHttpChannel.h 40428 -
nsHttpChannelAuthProvider.cpp 56341 -
nsHttpChannelAuthProvider.h Following three methods return NS_ERROR_IN_PROGRESS when nsIAuthPrompt2.asyncPromptAuth method is called. This result indicates the user's decision will be gathered in a callback and is not an actual error. 7286 -
nsHttpChunkedDecoder.cpp 5230 -
nsHttpChunkedDecoder.h 1568 -
nsHttpConnection.cpp 91587 -
nsHttpConnection.h 14161 -
nsHttpConnectionInfo.cpp 22941 -
nsHttpConnectionInfo.h 12710 -
nsHttpConnectionMgr.cpp 137934 -
nsHttpConnectionMgr.h 20843 -
nsHttpDigestAuth.cpp 23616 -
nsHttpDigestAuth.h 3289 -
nsHttpHandler.cpp ;q=0.1" #define ACCEPT_HEADER_JSON "application/json, 105249 -
nsHttpHandler.h FRAMECHECK_LAX - no check FRAMECHECK_BARELY - allows: 1) that chunk-encoding does not have the last 0-size chunk. So, if a chunked-encoded transfer ends on exactly a chunk boundary we consider that fine. This will allows us to accept buggy servers that do not send the last chunk. It will make us not detect a certain amount of cut-offs. 2) When receiving a gzipped response, we consider a gzip stream that doesn't end fine according to the gzip decompressing state machine to be a partial transfer. If a gzipped transfer ends fine according to the decompressor, we do not check for size unalignments. This allows to allow HTTP gzipped responses where the Content-Length is not the same as the actual contents. 3) When receiving HTTP that isn't content-encoded/compressed (like in case 2) and not chunked (like in case 1), perform the size comparison between Content-Length: and the actual size received and consider a mismatch to mean a NS_ERROR_NET_PARTIAL_TRANSFER error. FRAMECHECK_STRICT_CHUNKED - This is the same as FRAMECHECK_BARELY only we enforce that the last 0-size chunk is received in case 1). FRAMECHECK_STRICT - we also do not allow case 2) and 3) from FRAMECHECK_BARELY. 35587 -
nsHttpHeaderArray.cpp 16331 -
nsHttpHeaderArray.h 12650 -
nsHttpNTLMAuth.cpp 13887 -
nsHttpNTLMAuth.h 880 -
nsHttpRequestHead.cpp = nsHttpHeaderArray::eFilterAll 10909 -
nsHttpRequestHead.h 5956 -
nsHttpResponseHead.cpp 40239 -
nsHttpResponseHead.h Xlib headers insist on this for some reason... Nuke it because it'll override our member name 10958 -
nsHttpTransaction.cpp 131561 -
nsHttpTransaction.h 24377 -
nsIBackgroundChannelRegistrar.idl Registrar for pairing HttpChannelParent and HttpBackgroundChannelParent via channel Id. HttpChannelParent::OnBackgroundParentReady and HttpBackgroundChannelParent::LinkToChannel will be invoked to notify the existence of associated channel object. 2424 -
nsIBinaryHttp.idl 1787 -
nsICORSPreflightCache.idl nsICORSPreflightCache Provides methods for iterating across the preflight cache entries for access and modification 954 -
nsICORSPreflightCacheEntry.idl nsICORSPreflightCacheEntry Defines an interface representing a cache entry in the preflight cache. 1522 -
nsICorsPreflightCallback.h 815 -
nsIEarlyHintObserver.idl This method is called when the transaction has early hint (i.e. the '103 Early Hint' informational response) headers. 654 -
nsIHttpActivityObserver.idl nsIHttpActivityObserver This interface provides a way for http activities to be reported to observers. 9587 -
nsIHttpAuthCache.idl nsIHttpAuthCache Provides methods for iterating across the HTTP authentication cache entries for access and modification 823 -
nsIHttpAuthenticableChannel.idl If the channel being authenticated is using SSL. 3855 -
nsIHttpAuthenticator.idl nsIHttpAuthenticator Interface designed to allow for pluggable HTTP authentication modules. Implementations are registered under the ContractID: "@mozilla.org/network/http-authenticator;1?scheme=<auth-scheme>" where <auth-scheme> is the lower-cased value of the authentication scheme found in the server challenge per the rules of RFC 2617. 10060 -
nsIHttpAuthEntry.idl nsIHttpAuthIdentity Defines an interface (domain, user, and password) identifying the HTTP authentication cache entry. 1201 -
nsIHttpAuthManager.idl nsIHttpAuthManager This service provides access to cached HTTP authentication user credentials (domain, username, password) for sites visited during the current browser session. This interface exists to provide other HTTP stacks with the ability to share HTTP authentication credentials with Necko. This is currently used by the Java plugin (version 1.5 and higher) to avoid duplicate authentication prompts when the Java client fetches content from a HTTP site that the user has already logged into. 4892 -
nsIHttpChannel.idl nsIHttpChannel This interface allows for the modification of HTTP request parameters and the inspection of the resulting HTTP response status and headers when they become available. 20033 -
nsIHttpChannelAuthProvider.idl nsIHttpChannelAuthProvider This interface is intended for providing authentication for http-style channels, like nsIHttpChannel and nsIWebSocket, which implement the nsIHttpAuthenticableChannel interface. When requesting pages AddAuthorizationHeaders MUST be called in order to get the http cached headers credentials. When the request is unsuccessful because of receiving either a 401 or 407 http response code ProcessAuthentication MUST be called and the page MUST be requested again with the new credentials that the user has provided. After a successful request disconnect MUST be called. 3025 -
nsIHttpChannelChild.idl 1441 -
nsIHttpChannelInternal.idl The callback interface for nsIHttpChannelInternal::HTTPUpgrade() 20045 -
nsIHttpHeaderVisitor.idl Implement this interface to visit http headers. 898 -
nsIHttpProtocolHandler.idl Get the HTTP advertised user agent string. 7979 -
nsINetworkErrorLogging.idl Called by nsHttpChannel to register a NEL policy 964 -
nsIObliviousHttp.idl 3441 -
nsIObliviousHttpChannel.idl nsIObliviousHttpChannel This interface allows consumers to differentiate between the relayChannel request that transports the OHTTP payload and the virtual OHTTP channel represented by the nsIObliviousHttpChannel implementation. 1011 -
nsIRaceCacheWithNetwork.idl This holds methods used to race the cache with the network for a specific channel. This interface is was designed with nsHttpChannel in mind, and it's expected this will be the only class implementing it. 2589 -
nsIReplacedHttpResponse.idl nsIHttpChannel This interface allows to create an object holding mocked data which will replace the response for a channel. To override the channel's response use nsIHttpChannelInternal::setResponseOverride with an instance of nsIReplacedHttpResponse as parameter. 1180 -
nsITlsHandshakeListener.idl 554 -
nsIWellKnownOpportunisticUtils.idl For parsing JSON from http://httpwg.org/http-extensions/opsec.html 757 -
nsServerTiming.cpp 3859 -
nsServerTiming.h 1324 -
NullHttpChannel.cpp 23626 -
NullHttpChannel.h 1835 -
NullHttpTransaction.cpp 7107 -
NullHttpTransaction.h 2762 -
oblivious_http -
ObliviousHTTP.sys.mjs @typedef {object} OHTTPResponse An object with properties mimicking that of a Response. @property {boolean} ok Indicates whether the request was successful. @property {number} status Representation of the HTTP status code. @property {?Headers} headers Representing the response headers. @property {() => ?JSON} json Returns the parsed JSON response body. @property {() => ?Blob} blob Returns a Blob response body. 7251 -
ObliviousHttpChannel.cpp 26699 -
ObliviousHttpChannel.h 2346 -
ObliviousHttpService.cpp 7308 -
ObliviousHttpService.h 1293 -
OpaqueResponseUtils.cpp 23254 -
OpaqueResponseUtils.h 6465 -
PAltDataOutputStream.ipdl 1268 -
PAltService.ipdl 1211 -
PAltSvcTransaction.ipdl 604 -
ParentChannelListener.cpp 10005 -
ParentChannelListener.h 2829 -
PBackgroundDataBridge.ipdl 1060 -
PCacheEntryWriteHandle.ipdl 538 -
PendingTransactionInfo.cpp 4859 -
PendingTransactionInfo.h 2105 -
PendingTransactionQueue.cpp = false 10042 -
PendingTransactionQueue.h 3518 -
PHttpBackgroundChannel.ipdl 2942 -
PHttpChannel.ipdl 6209 -
PHttpChannelParams.h 10094 -
PHttpConnectionMgr.ipdl 1836 -
PHttpTransaction.ipdl 4660 -
QuicSocketControl.cpp 4207 -
QuicSocketControl.h 1944 -
README Darin Fisher 4209 -
ReplacedHttpResponse.cpp 1861 -
ReplacedHttpResponse.h 1182 -
SpeculativeTransaction.cpp 3705 -
SpeculativeTransaction.h 2719 -
TimingStruct.h 1171 -
TlsHandshaker.cpp 12273 -
TlsHandshaker.h 3302 -
TLSTransportLayer.cpp 27681 -
TLSTransportLayer.h 6189 -
TRRServiceChannel.cpp 49035 -
TRRServiceChannel.h 7031 -
WebTransportCertificateVerifier.cpp out 10128 -
WebTransportCertificateVerifier.h 852 -
WebTransportFlowControl.cpp 2581 -
WebTransportFlowControl.h 9132 -
WebTransportSessionBase.cpp 553 -
WebTransportSessionBase.h 1590 -
WebTransportStreamBase.cpp 2225 -
WebTransportStreamBase.h 4483 -
WellKnownOpportunisticUtils.sys.mjs -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 755 -