gecko-dev/netwerk/protocol/http
Gijs Kruitbosch dd394d57a2 Bug 1733558 - stop duplicating append redirect history entry logic everywhere, r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127251
2021-10-04 13:24:15 +00:00
..
ASpdySession.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
ASpdySession.h Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw 2021-06-04 12:35:16 +00:00
AltDataOutputStreamChild.cpp
AltDataOutputStreamChild.h
AltDataOutputStreamParent.cpp
AltDataOutputStreamParent.h
AltServiceChild.cpp Bug 1687618 - Remove isolated and topWindowOrigin from altServices r=necko-reviewers,dragana 2021-01-26 11:08:46 +00:00
AltServiceChild.h Bug 1687618 - Remove isolated and topWindowOrigin from altServices r=necko-reviewers,dragana 2021-01-26 11:08:46 +00:00
AltServiceParent.cpp Bug 1687618 - Remove isolated and topWindowOrigin from altServices r=necko-reviewers,dragana 2021-01-26 11:08:46 +00:00
AltServiceParent.h Bug 1687618 - Remove isolated and topWindowOrigin from altServices r=necko-reviewers,dragana 2021-01-26 11:08:46 +00:00
AltSvcTransactionChild.cpp
AltSvcTransactionChild.h
AltSvcTransactionParent.cpp
AltSvcTransactionParent.h
AlternateServices.cpp Bug 1732584 - Make sure NS_HTTP_DISALLOW_HTTP3 is set when proxy is used, r=necko-reviewers,dragana 2021-09-30 12:17:49 +00:00
AlternateServices.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
BackgroundChannelRegistrar.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
BackgroundChannelRegistrar.h Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw 2021-06-04 12:35:16 +00:00
BackgroundDataBridgeChild.cpp
BackgroundDataBridgeChild.h
BackgroundDataBridgeParent.cpp
BackgroundDataBridgeParent.h
CacheControlParser.cpp Bug 1687413 - Iteratively parse cache-control header to avoid stack overflow r=necko-reviewers,dragana 2021-02-01 20:47:06 +00:00
CacheControlParser.h
CachePushChecker.cpp Bug 1694662 - Remove Appcachestorage & oldwrappers r=necko-reviewers,kershaw 2021-04-30 07:20:24 +00:00
CachePushChecker.h
ClassifierDummyChannel.cpp Bug 1732388 support proxyBypass flag on http channels r=dragana,necko-reviewers 2021-09-27 21:01:53 +00:00
ClassifierDummyChannel.h
ClassifierDummyChannelChild.cpp Bug 1658578 - Remove nsContentUtils::IsThirdPartyWindowOrChannel. r=timhuang 2021-08-11 10:37:18 +00:00
ClassifierDummyChannelChild.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
ClassifierDummyChannelParent.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
ClassifierDummyChannelParent.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
ConnectionDiagnostics.cpp Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw 2021-06-04 12:35:16 +00:00
ConnectionEntry.cpp Add diagnostic assertions to better understand bug 1711738 and 1711038 r=necko-reviewers,valentin 2021-06-09 07:32:51 +00:00
ConnectionEntry.h Bug 1705065 - ConnectionEntry should hold reference to DnsAndConnectSocket-s r=necko-reviewers,valentin 2021-06-09 07:32:51 +00:00
ConnectionHandle.cpp Bug 1698661 - Use the id of top browsing context to dispatch transactions, r=necko-reviewers,kmag,dragana 2021-04-07 07:59:18 +00:00
ConnectionHandle.h
DnsAndConnectSocket.cpp Bug 1726528 - Add a pref to control whether to enable echConfig for http3, r=necko-reviewers,dragana 2021-09-20 14:24:14 +00:00
DnsAndConnectSocket.h Add diagnostic assertions to better understand bug 1711738 and 1711038 r=necko-reviewers,valentin 2021-06-09 07:32:51 +00:00
HTTPSRecordResolver.cpp Bug 1666222: Remove the DelayQueue thing as part of removing Fuzzyfox 3/5 r=necko-reviewers,kershaw 2021-07-14 18:18:16 +00:00
HTTPSRecordResolver.h Bug 1702726 - Do no call OnHTTPSRRAvailable if a transaction is done. r=necko-reviewers,kershaw 2021-04-15 15:04:34 +00:00
Http2Compression.cpp Bug 1663836 - Treat invalid HTTP response header names over HTTP2 as malformed r=necko-reviewers,dragana 2021-08-12 09:34:20 +00:00
Http2Compression.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
Http2HuffmanIncoming.h
Http2HuffmanOutgoing.h
Http2Push.cpp Bug 1667102 - Add some diagnostic assertions, r=necko-reviewers,dragana 2021-09-20 13:57:29 +00:00
Http2Push.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
Http2Session.cpp Bug 1718520 - Retry a HttpTransaction if early data are used and a SSL_ERROR_PROTOCOL_VERSION_ALERT is received r=necko-reviewers,kershaw 2021-10-01 17:22:54 +00:00
Http2Session.h Bug 1718520 - Retry a HttpTransaction if early data are used and a SSL_ERROR_PROTOCOL_VERSION_ALERT is received r=necko-reviewers,kershaw 2021-10-01 17:22:54 +00:00
Http2Stream.cpp Bug 1667102 - Add some diagnostic assertions, r=necko-reviewers,dragana 2021-09-20 13:57:29 +00:00
Http2Stream.h Bug 1667102 - Add some diagnostic assertions, r=necko-reviewers,dragana 2021-09-20 13:57:29 +00:00
Http3Session.cpp Bug 1726528 - Add a pref to control whether to enable echConfig for http3, r=necko-reviewers,dragana 2021-09-20 14:24:14 +00:00
Http3Session.h Bug 1713650 - Fix UDP sockets not showing up in about:networking#sockets r=necko-reviewers,kershaw 2021-08-11 16:07:54 +00:00
Http3Stream.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
Http3Stream.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
HttpAuthUtils.cpp
HttpAuthUtils.h
HttpBackgroundChannelChild.cpp Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE 2021-09-17 22:58:33 +03:00
HttpBackgroundChannelChild.h Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE 2021-09-17 22:58:33 +03:00
HttpBackgroundChannelParent.cpp Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE 2021-09-17 22:58:33 +03:00
HttpBackgroundChannelParent.h Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE 2021-09-17 22:58:33 +03:00
HttpBaseChannel.cpp Bug 1733558 - stop duplicating append redirect history entry logic everywhere, r=ckerschb,necko-reviewers,valentin 2021-10-04 13:24:15 +00:00
HttpBaseChannel.h Bug 1733558 - stop duplicating append redirect history entry logic everywhere, r=ckerschb,necko-reviewers,valentin 2021-10-04 13:24:15 +00:00
HttpChannelChild.cpp Bug 1733558 - stop duplicating append redirect history entry logic everywhere, r=ckerschb,necko-reviewers,valentin 2021-10-04 13:24:15 +00:00
HttpChannelChild.h Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE 2021-09-17 22:58:33 +03:00
HttpChannelParams.ipdlh Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE 2021-09-17 22:58:33 +03:00
HttpChannelParent.cpp Bug 1732388 support proxyBypass flag on http channels r=dragana,necko-reviewers 2021-09-27 21:01:53 +00:00
HttpChannelParent.h Bug 1732388 support proxyBypass flag on http channels r=dragana,necko-reviewers 2021-09-27 21:01:53 +00:00
HttpConnectionBase.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
HttpConnectionBase.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
HttpConnectionMgrChild.cpp Bug 1716566 - Make websocket work when socket process is enabled, r=necko-reviewers,dragana 2021-09-07 14:42:44 +00:00
HttpConnectionMgrChild.h Bug 1716566 - Make websocket work when socket process is enabled, r=necko-reviewers,dragana 2021-09-07 14:42:44 +00:00
HttpConnectionMgrParent.cpp Bug 1716566 - Make websocket work when socket process is enabled, r=necko-reviewers,dragana 2021-09-07 14:42:44 +00:00
HttpConnectionMgrParent.h Bug 1716566 - Make websocket work when socket process is enabled, r=necko-reviewers,dragana 2021-09-07 14:42:44 +00:00
HttpConnectionMgrShell.h Bug 1698661 - Use the id of top browsing context to dispatch transactions, r=necko-reviewers,kmag,dragana 2021-04-07 07:59:18 +00:00
HttpConnectionUDP.cpp Bug 1666222: Remove the DelayQueue thing as part of removing Fuzzyfox 3/5 r=necko-reviewers,kershaw 2021-07-14 18:18:16 +00:00
HttpConnectionUDP.h Bug 1713650 - Fix UDP sockets not showing up in about:networking#sockets r=necko-reviewers,kershaw 2021-08-11 16:07:54 +00:00
HttpInfo.cpp
HttpInfo.h
HttpLog.h Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw 2021-06-04 12:35:16 +00:00
HttpTrafficAnalyzer.cpp
HttpTrafficAnalyzer.h
HttpTrafficAnalyzer.inc
HttpTransactionChild.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
HttpTransactionChild.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
HttpTransactionParent.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
HttpTransactionParent.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
HttpTransactionShell.h Bug 1710045 - Static analysis auto fixes r=necko-reviewers,kershaw 2021-06-01 07:24:02 +00:00
HttpWinUtils.cpp Bug 1720390 - Match any .live.com domain for Windows single sign on. r=nhnt11,necko-reviewers,kershaw 2021-07-21 15:32:33 +00:00
HttpWinUtils.h Bug 1695693 - Add support for Windows 10 SSO on Firefox. r=valentin,necko-reviewers,dveditz,johannh 2021-06-16 14:24:43 +00:00
InterceptedChannel.cpp Bug 1693074 - Remove child interception telemetries related codes. r=dom-worker-reviewers,asuth 2021-08-22 11:02:17 +00:00
InterceptedChannel.h Bug 1693074 - Adding telemetry for evaluating the duration of fetch event dispatching and response synthesizing. r=dom-worker-reviewers,asuth 2021-08-22 11:02:18 +00:00
InterceptedHttpChannel.cpp Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE 2021-09-17 22:58:33 +03:00
InterceptedHttpChannel.h Bug 1693074 - Adding telemetry for evaluating the duration of fetch event dispatching and response synthesizing. r=dom-worker-reviewers,asuth 2021-08-22 11:02:18 +00:00
NetworkMarker.cpp Bug 1697901 - [network markers] Support channel cancelation r=valentin,gerald,necko-reviewers 2021-08-23 08:56:52 +00:00
NetworkMarker.h Bug 1697901 - [network markers] Support channel cancelation r=valentin,gerald,necko-reviewers 2021-08-23 08:56:52 +00:00
NullHttpChannel.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
NullHttpChannel.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
NullHttpTransaction.cpp Bug 1689604 - Remove TCPFastOpen part 3 r=necko-reviewers,valentin 2021-02-03 17:23:45 +00:00
NullHttpTransaction.h Bug 1698661 - Use the id of top browsing context to dispatch transactions, r=necko-reviewers,kmag,dragana 2021-04-07 07:59:18 +00:00
OpaqueResponseUtils.cpp Bug 1720289 - fix the OpaqueResponseUtils includes, r=kershaw,necko-reviewers. 2021-07-15 22:04:24 +00:00
OpaqueResponseUtils.h Bug 1720289 - fix the OpaqueResponseUtils includes, r=kershaw,necko-reviewers. 2021-07-15 22:04:24 +00:00
PAltDataOutputStream.ipdl
PAltService.ipdl Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
PAltSvcTransaction.ipdl Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
PBackgroundDataBridge.ipdl Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
PClassifierDummyChannel.ipdl
PHttpBackgroundChannel.ipdl Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE 2021-09-17 22:58:33 +03:00
PHttpChannel.ipdl Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE 2021-09-17 22:58:33 +03:00
PHttpChannelParams.h Bug 1710045 - Use DataMutex in nsHttp::sAtomTable r=necko-reviewers,dragana 2021-06-01 07:24:02 +00:00
PHttpConnectionMgr.ipdl Bug 1716566 - Make websocket work when socket process is enabled, r=necko-reviewers,dragana 2021-09-07 14:42:44 +00:00
PHttpTransaction.ipdl Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
PSpdyPush.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
ParentChannelListener.cpp Bug 1496997 - Remove ServiceWorkerParentInterceptEnabled() and callers r=asuth,dom-workers-and-storage-reviewers,necko-reviewers,dragana 2021-06-08 21:02:55 +00:00
ParentChannelListener.h
PendingTransactionInfo.cpp Bug 1705065 - ConnectionEntry should hold reference to DnsAndConnectSocket-s r=necko-reviewers,valentin 2021-06-09 07:32:51 +00:00
PendingTransactionInfo.h Bug 1705065 - ConnectionEntry should hold reference to DnsAndConnectSocket-s r=necko-reviewers,valentin 2021-06-09 07:32:51 +00:00
PendingTransactionQueue.cpp Bug 1698661 - Use the id of top browsing context to dispatch transactions, r=necko-reviewers,kmag,dragana 2021-04-07 07:59:18 +00:00
PendingTransactionQueue.h
QuicSocketControl.cpp Bug 1654507 - Part1: Plumbing for setting ech config, r=necko-reviewers,dragana 2021-07-13 09:24:25 +00:00
QuicSocketControl.h Bug 1654507 - Part1: Plumbing for setting ech config, r=necko-reviewers,dragana 2021-07-13 09:24:25 +00:00
README
SpeculativeTransaction.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
SpeculativeTransaction.h Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw 2021-06-04 12:35:16 +00:00
TRRServiceChannel.cpp Bug 1721781 - Make HTTP3 work when we use DIRECT proxy connection, r=necko-reviewers,dragana 2021-08-09 12:25:54 +00:00
TRRServiceChannel.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
TimingStruct.h
TunnelUtils.cpp Bug 1720633 - Remove old "network.http.spdy.bug1563538" pref checks. r=necko-reviewers,kershaw 2021-07-16 05:33:15 +00:00
TunnelUtils.h Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw 2021-06-04 12:35:16 +00:00
WellKnownOpportunisticUtils.jsm
components.conf
http2_huffman_table.txt
make_incoming_tables.py
make_outgoing_tables.py
moz.build Bug 1382886 - Add a callback when the handshake is done. r=necko-reviewers,kershaw,keeler 2021-09-22 09:19:30 +00:00
nsAHttpConnection.h Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw 2021-06-04 12:35:16 +00:00
nsAHttpTransaction.h Bug 1698661 - Use the id of top browsing context to dispatch transactions, r=necko-reviewers,kmag,dragana 2021-04-07 07:59:18 +00:00
nsCORSListenerProxy.cpp Bug 1704110 - Added PreflightCacheCleaner. r=necko-reviewers,johannh,dragana 2021-07-12 16:05:19 +00:00
nsCORSListenerProxy.h Bug 1704110 - Added PreflightCacheCleaner. r=necko-reviewers,johannh,dragana 2021-07-12 16:05:19 +00:00
nsHttp.cpp Bug 1733247 - Check the http3 pref when selecting an npnToken, r=necko-reviewers,dragana 2021-09-30 12:18:47 +00:00
nsHttp.h Bug 1726528 - Add a pref to control whether to enable echConfig for http3, r=necko-reviewers,dragana 2021-09-20 14:24:14 +00:00
nsHttpActivityDistributor.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpActivityDistributor.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpAtomList.h Bug 1689604 - Remove TCPFastOpen part 3 r=necko-reviewers,valentin 2021-02-03 17:23:45 +00:00
nsHttpAuthCache.cpp Bug 1705659 - Use a nsTArray<CString> instead of custom linked list r=necko-reviewers,dragana 2021-08-12 12:39:23 +00:00
nsHttpAuthCache.h Bug 1705659 - Static-analysis check auto fix for auth code r=necko-reviewers,dragana 2021-08-12 12:39:25 +00:00
nsHttpAuthManager.cpp Bug 1705659 - Static-analysis check auto fix for auth code r=necko-reviewers,dragana 2021-08-12 12:39:25 +00:00
nsHttpAuthManager.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpBasicAuth.cpp Bug 1705659 - Make GetAuthenticator work with nsACString r=necko-reviewers,dragana 2021-08-12 12:39:22 +00:00
nsHttpBasicAuth.h
nsHttpChannel.cpp Bug 1030660 - Disable ClearBogusContentEncodingIfNeeded. r=necko-reviewers,valentin 2021-10-02 16:40:36 +00:00
nsHttpChannel.h Bug 1728760 - move the nsHttpChannel nsITimerCallback implementation to a nested subclass to avoid issues when an object implements both nsIChannel and nsIRequest, r=smaug,necko-reviewers,kershaw. 2021-09-07 08:01:18 +00:00
nsHttpChannelAuthProvider.cpp Bug 1729497 - Return error code in nsHttpChannelAuthProvider::GetAuthenticator if we return a null authenticator r=necko-reviewers,kershaw 2021-09-08 09:40:33 +00:00
nsHttpChannelAuthProvider.h Bug 1705659 - Make Host() and ProxyHost() return const nsCString& r=necko-reviewers,dragana 2021-08-12 12:39:24 +00:00
nsHttpChunkedDecoder.cpp Bug 1308104 - Replace PL_strchr with a safer Gecko string class or function netwerk/ r=necko-reviewers,dragana,valentin 2021-08-05 09:25:15 +00:00
nsHttpChunkedDecoder.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpConnection.cpp Bug 1718520 - Disable early-data if a SSL_ERROR_PROTOCOL_VERSION_ALERT is received r=mt 2021-10-01 12:14:21 +00:00
nsHttpConnection.h Bug 1718520 - Disable early-data if a SSL_ERROR_PROTOCOL_VERSION_ALERT is received r=mt 2021-10-01 12:14:21 +00:00
nsHttpConnectionInfo.cpp Bug 1726528 - Add a pref to control whether to enable echConfig for http3, r=necko-reviewers,dragana 2021-09-20 14:24:14 +00:00
nsHttpConnectionInfo.h Bug 1729431 - Use an enum as the index of connection info's hash key, r=necko-reviewers,valentin 2021-09-20 14:02:49 +00:00
nsHttpConnectionMgr.cpp Bug 1732584 - Make sure NS_HTTP_DISALLOW_HTTP3 is set when proxy is used, r=necko-reviewers,dragana 2021-09-30 12:17:49 +00:00
nsHttpConnectionMgr.h Bug 1728760 - require all nsITimerCallback native implementations to also implement nsINamed, r=smaug. 2021-09-07 08:01:18 +00:00
nsHttpDigestAuth.cpp Bug 1705659 - Make GetAuthenticator work with nsACString r=necko-reviewers,dragana 2021-08-12 12:39:22 +00:00
nsHttpDigestAuth.h Bug 1705659 - Static-analysis check auto fix for auth code r=necko-reviewers,dragana 2021-08-12 12:39:25 +00:00
nsHttpHandler.cpp Bug 1718520 - Disable early-data if a SSL_ERROR_PROTOCOL_VERSION_ALERT is received r=mt 2021-10-01 12:14:21 +00:00
nsHttpHandler.h Bug 1718520 - Disable early-data if a SSL_ERROR_PROTOCOL_VERSION_ALERT is received r=mt 2021-10-01 12:14:21 +00:00
nsHttpHeaderArray.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpHeaderArray.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpNTLMAuth.cpp Bug 1732249 - Check if secInfo->GetServerCert returns a null cert r=necko-reviewers,kershaw 2021-09-23 09:00:18 +00:00
nsHttpNTLMAuth.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpRequestHead.cpp Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpRequestHead.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpResponseHead.cpp Bug 1308106 - Replace PL_strstr with a safer Gecko string class or function r=necko-reviewers,valentin 2021-08-05 09:31:30 +00:00
nsHttpResponseHead.h Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk/protocol/http/ r=necko-reviewers,kershaw 2021-06-16 08:10:12 +00:00
nsHttpTransaction.cpp Bug 1718520 - Retry a HttpTransaction if early data are used and a SSL_ERROR_PROTOCOL_VERSION_ALERT is received r=necko-reviewers,kershaw 2021-10-01 17:22:54 +00:00
nsHttpTransaction.h Bug 1718520 - Retry a HttpTransaction if early data are used and a SSL_ERROR_PROTOCOL_VERSION_ALERT is received r=necko-reviewers,kershaw 2021-10-01 17:22:54 +00:00
nsIBackgroundChannelRegistrar.idl
nsICorsPreflightCallback.h
nsIHttpActivityObserver.idl
nsIHttpAuthManager.idl
nsIHttpAuthenticableChannel.idl
nsIHttpAuthenticator.idl Bug 1705659 - Make GetAuthenticator work with nsACString r=necko-reviewers,dragana 2021-08-12 12:39:22 +00:00
nsIHttpChannel.idl Bug 1698661 - Use the id of top browsing context to dispatch transactions, r=necko-reviewers,kmag,dragana 2021-04-07 07:59:18 +00:00
nsIHttpChannelAuthProvider.idl
nsIHttpChannelChild.idl
nsIHttpChannelInternal.idl Bug 1732388 support proxyBypass flag on http channels r=dragana,necko-reviewers 2021-09-27 21:01:53 +00:00
nsIHttpHeaderVisitor.idl
nsIHttpProtocolHandler.idl Bug 1704110 - Added PreflightCacheCleaner. r=necko-reviewers,johannh,dragana 2021-07-12 16:05:19 +00:00
nsIRaceCacheWithNetwork.idl
nsITlsHandshakeListener.idl Bug 1382886 - Add a callback when the handshake is done. r=necko-reviewers,kershaw,keeler 2021-09-22 09:19:30 +00:00
nsIWellKnownOpportunisticUtils.idl
nsServerTiming.cpp
nsServerTiming.h Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw 2021-06-04 12:35:16 +00:00

README

                                                        Darin Fisher
                                                        darin@netscape.com
                                                        8/8/2001

                            HTTP DESIGN NOTES


CLASS BREAKDOWN

  nsHttpHandler
    - implements nsIProtocolHandler
    - manages preferences
    - owns the authentication cache
    - holds references to frequently used services

  nsHttpChannel
    - implements nsIHttpChannel
    - talks to the cache
    - initiates http transactions
    - processes http response codes
    - intercepts progress notifications

  nsHttpConnection
    - implements nsIStreamListener & nsIStreamProvider
    - talks to the socket transport service
    - feeds data to its transaction object
    - routes progress notifications

  nsHttpConnectionInfo
    - identifies a connection

  nsHttpTransaction
    - implements nsIRequest
    - encapsulates a http request and response
    - parses incoming data

  nsHttpChunkedDecoder
    - owned by a transaction
    - removes chunked decoding

  nsHttpRequestHead
    - owns a nsHttpHeaderArray
    - knows how to fill a request buffer

  nsHttpResponseHead
    - owns a nsHttpHeaderArray
    - knows how to parse response lines
    - performs common header manipulations/calculations

  nsHttpHeaderArray
    - stores http "<header>:<value>" pairs

  nsHttpAuthCache
    - stores authentication credentials for http auth domains

  nsHttpBasicAuth
    - implements nsIHttpAuthenticator
    - generates BASIC auth credentials from user:pass


ATOMS

  nsHttp:: (header namespace)

  eg. nsHttp::Content_Length


TRANSACTION MODEL

  InitiateTransaction -> ActivateConnection -> AsyncWrite, AsyncRead

  The channel creates transactions, and passes them to the handler via
  InitiateTransaction along with a nsHttpConnectionInfo object
  identifying the requested connection.  The handler either dispatches
  the transaction immediately or queues it up to be dispatched later,
  depending on whether or not the limit on the number of connections
  to the requested server has been reached.  Once the transaction can
  be run, the handler looks for an idle connection or creates a new
  connection, and then (re)activates the connection, assigning it the
  new transaction.

  Once activated the connection ensures that it has a socket transport,
  and then calls AsyncWrite and AsyncRead on the socket transport.  This
  begins the process of talking to the server.  To minimize buffering,
  socket transport thread-proxying is completely disabled (using the flags
  DONT_PROXY_LISTENER | DONT_PROXY_PROVIDER | DONT_PROXY_OBSERVER with
  both AsyncWrite and AsyncRead).  This means that the nsHttpConnection's
  OnStartRequest, OnDataAvailable, OnDataWritable, and OnStopRequest
  methods will execute on the socket transport thread.

  The transaction defines (non-virtual) OnDataReadable, OnDataWritable, and
  OnStopTransaction methods, which the connection calls in response to
  its OnDataAvailable, OnDataWritable, and OnStopRequest methods, respectively.
  The transaction owns a nsStreamListenerProxy created by the channel, which
  it uses to transfer data from the socket thread over to the client's thread.
  To mimize buffering, the transaction implements nsIInputStream, and passes
  itself to the stream listener proxy's OnDataAvailable.  In this way, we
  have effectively wedged the response parsing between the socket and the
  thread proxy's buffer.  When read, the transaction turns around and reads
  from the socket using the buffer passed to it.  The transaction scans the
  buffer for headers, removes them as they are detected, and copies the headers
  into its nsHttpResponseHead object.  The rest of the data remains in the
  buffer, and is proxied over to the client's thread to be handled first by the
  http channel and eventually by the client.

  There are several other major design factors, including:

    - transaction cancelation
    - progress notification
    - SSL tunneling
    - chunked decoding
    - thread safety
    - premature EOF detection and transaction restarting
    - pipelining (not yet implemented)


CACHING

<EOF>