gecko-dev/netwerk/protocol/http
Frederik Braun 887dadabf0 Bug 1648764 - map chromescripts into their own internal contentpolicytype r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D81336
2020-07-24 11:52:02 +00:00
..
ASpdySession.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
ASpdySession.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
AltDataOutputStreamChild.cpp
AltDataOutputStreamChild.h
AltDataOutputStreamParent.cpp
AltDataOutputStreamParent.h
AltServiceChild.cpp Bug 1537761 - P2 Add an IPC message for AltSvcMapping::ProcessHeader r=dragana 2020-03-10 16:28:49 +00:00
AltServiceChild.h Bug 1537761 - P2 Add an IPC message for AltSvcMapping::ProcessHeader r=dragana 2020-03-10 16:28:49 +00:00
AltServiceParent.cpp Bug 1537761 - P2 Add an IPC message for AltSvcMapping::ProcessHeader r=dragana 2020-03-10 16:28:49 +00:00
AltServiceParent.h Bug 1537761 - P2 Add an IPC message for AltSvcMapping::ProcessHeader r=dragana 2020-03-10 16:28:49 +00:00
AltSvcTransactionChild.cpp Bug 1527384 - Introduce PAltSvcTransaction for carrying the validated result from socket process to parent process r=dragana 2020-03-17 16:32:12 +00:00
AltSvcTransactionChild.h Bug 1527384 - Introduce PAltSvcTransaction for carrying the validated result from socket process to parent process r=dragana 2020-03-17 16:32:12 +00:00
AltSvcTransactionParent.cpp Bug 1527384 - Introduce PAltSvcTransaction for carrying the validated result from socket process to parent process r=dragana 2020-03-17 16:32:12 +00:00
AltSvcTransactionParent.h Bug 1527384 - Introduce PAltSvcTransaction for carrying the validated result from socket process to parent process r=dragana 2020-03-17 16:32:12 +00:00
AlternateServices.cpp Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp 2020-07-15 11:20:45 +00:00
AlternateServices.h Bug 1623501 - WebSocket cannot run over http3. r=kershaw 2020-03-24 21:23:28 +00:00
BackgroundChannelRegistrar.cpp Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj 2020-02-25 17:03:36 +00:00
BackgroundChannelRegistrar.h
BackgroundDataBridgeChild.cpp Bug 1643382 - P1: BackgroundDataBridgeChild and HttpBackgroundChannelChild don't need to be a cycle r=dragana 2020-06-18 09:28:33 +00:00
BackgroundDataBridgeChild.h Bug 1643382 - P1: BackgroundDataBridgeChild and HttpBackgroundChannelChild don't need to be a cycle r=dragana 2020-06-18 09:28:33 +00:00
BackgroundDataBridgeParent.cpp Bug 1623380 - Send ODA directly to content process r=dragana 2020-05-07 14:39:21 +00:00
BackgroundDataBridgeParent.h Bug 1623380 - Send ODA directly to content process r=dragana 2020-05-07 14:39:21 +00:00
CacheControlParser.cpp Bug 1542293 - Rewrite various nsHttpResponseHead::Get* to use Tokenizer r=valentin,mayhemer,necko-reviewers 2020-04-23 17:11:44 +00:00
CacheControlParser.h Bug 1542293 - Rewrite various nsHttpResponseHead::Get* to use Tokenizer r=valentin,mayhemer,necko-reviewers 2020-04-23 17:11:44 +00:00
CachePushChecker.cpp Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj 2020-06-23 05:05:36 +00:00
CachePushChecker.h Bug 1546358 - Forward cache entry check to parent process r=dragana 2020-05-25 11:07:07 +00:00
ClassifierDummyChannel.cpp Bug 1638513 - P3 strip request body header for preflight, r=valentin,necko-reviewers 2020-06-09 18:38:50 +00:00
ClassifierDummyChannel.h Bug 1612378 - Part 7: Remove the ContentBlockingAllowListPrincipal from the nsIHttpChannelInternal. r=dimi,baku 2020-03-25 13:51:05 +00:00
ClassifierDummyChannelChild.cpp Bug 1612378 - Part 7: Remove the ContentBlockingAllowListPrincipal from the nsIHttpChannelInternal. r=dimi,baku 2020-03-25 13:51:05 +00:00
ClassifierDummyChannelChild.h Bug 1615155 - Don't generate default `Recv__delete__` if there are args. r=nika 2020-02-18 20:46:21 +00:00
ClassifierDummyChannelParent.cpp Bug 1612378 - Part 7: Remove the ContentBlockingAllowListPrincipal from the nsIHttpChannelInternal. r=dimi,baku 2020-03-25 13:51:05 +00:00
ClassifierDummyChannelParent.h Bug 1612378 - Part 7: Remove the ContentBlockingAllowListPrincipal from the nsIHttpChannelInternal. r=dimi,baku 2020-03-25 13:51:05 +00:00
ConnectionDiagnostics.cpp Bug 1619764 - Move some parts of HttpConnectionUDP to Http3Session. r=valentin 2020-03-04 14:17:12 +00:00
DelayHttpChannelQueue.cpp Bug 1623380 - Send ODA directly to content process r=dragana 2020-05-07 14:39:21 +00:00
DelayHttpChannelQueue.h
Http2Compression.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
Http2Compression.h Bug 1337953 - Make nsDeque templated on pointer type r=froydnj 2020-06-25 02:39:23 +00:00
Http2HuffmanIncoming.h
Http2HuffmanOutgoing.h
Http2Push.cpp Bug 1537761 - P1: Send an IPC message for ClearHostMapping() r=dragana 2020-03-10 16:28:47 +00:00
Http2Push.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
Http2Session.cpp Bug 1337953 - Make nsDeque templated on pointer type r=froydnj 2020-06-25 02:39:23 +00:00
Http2Session.h Bug 1337953 - Make nsDeque templated on pointer type r=froydnj 2020-06-25 02:39:23 +00:00
Http2Stream.cpp Bug 1578230 - do not process transactions blocked on tunnel before a final response, r=mayhemer,necko-reviewers 2020-06-30 18:37:28 +00:00
Http2Stream.h Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
Http3Session.cpp Bug 1652104 - Add telemtery about HTTP3 usage. r=michal,necko-reviewers 2020-07-16 04:03:35 +00:00
Http3Session.h Bug 1652104 - Add telemtery about HTTP3 usage. r=michal,necko-reviewers 2020-07-16 04:03:35 +00:00
Http3Stream.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-07-04 09:38:43 +00:00
Http3Stream.h Bug 1648553 - Improve Http3Stream sending states. r=michal,necko-reviewers 2020-07-01 11:23:46 +00:00
HttpAuthUtils.cpp Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin 2020-05-27 18:11:12 +00:00
HttpAuthUtils.h
HttpBackgroundChannelChild.cpp Bug 1605895 - Advance the diagnostic assertion by more background channel states, r=michal,necko-reviewers 2020-07-15 14:38:17 +00:00
HttpBackgroundChannelChild.h Bug 1646592 - P3 Sending endpoint of stream filter via PHttpBackgroundChannel, r=mayhemer,necko-reviewers 2020-07-07 21:46:01 +00:00
HttpBackgroundChannelParent.cpp Bug 1646592 - P3 Sending endpoint of stream filter via PHttpBackgroundChannel, r=mayhemer,necko-reviewers 2020-07-07 21:46:01 +00:00
HttpBackgroundChannelParent.h Bug 1646592 - P3 Sending endpoint of stream filter via PHttpBackgroundChannel, r=mayhemer,necko-reviewers 2020-07-07 21:46:01 +00:00
HttpBaseChannel.cpp Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE 2020-07-22 02:47:34 +03:00
HttpBaseChannel.h Bug 1638513 - P3 strip request body header for preflight, r=valentin,necko-reviewers 2020-06-09 18:38:50 +00:00
HttpChannelChild.cpp Bug 1605895, r=kershaw,necko-reviewers 2020-07-21 13:47:47 +00:00
HttpChannelChild.h Bug 1651661 - Make sure we fullfil the stream listnener contract when we cannot forward an otherwise successfull HTTP redirect, r=JuniorHsu,necko-reviewers 2020-07-16 10:56:12 +00:00
HttpChannelParams.ipdlh Bug 1645901 - handle cookie setting in child process for Set-Cookie response, r=baku,mayhemer,necko-reviewers 2020-07-07 15:19:09 +00:00
HttpChannelParent.cpp Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi 2020-07-08 20:15:59 +00:00
HttpChannelParent.h Bug 1646592 - P4 Remove the depedency between OnStartRequestSent and AttachStreamFilter, r=mayhemer,necko-reviewers 2020-07-07 21:46:34 +00:00
HttpConnectionBase.cpp Bug 1582663 - Remove functions from HttpConnectionBase that are TCP connection specific. r=mayhemer 2020-02-28 10:53:41 +00:00
HttpConnectionBase.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
HttpConnectionMgrChild.cpp Backed out 3 changesets (bug 1653642, bug 1497249) for causing Bug 1654282. 2020-07-22 11:31:30 +03:00
HttpConnectionMgrChild.h Backed out 3 changesets (bug 1653642, bug 1497249) for causing Bug 1654282. 2020-07-22 11:31:30 +03:00
HttpConnectionMgrParent.cpp Backed out 3 changesets (bug 1653642, bug 1497249) for causing Bug 1654282. 2020-07-22 11:31:30 +03:00
HttpConnectionMgrParent.h Bug 1596409 - P4: Impl PHttpConnectionMgr IPC protocol r=dragana 2019-12-03 13:44:39 +00:00
HttpConnectionMgrShell.h Bug 1637648 - P3: Forward observer notifications to socket process for nsHttpHandler r=dragana 2020-06-23 11:11:29 +00:00
HttpConnectionUDP.cpp Bug 1644377 - Add support for multiple http3 versions. r=michal,necko-reviewers 2020-06-10 16:17:13 +00:00
HttpConnectionUDP.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
HttpInfo.cpp Bug 1527256 - P3: Get HttpData from socket process r=dragana 2020-07-08 10:29:01 +00:00
HttpInfo.h
HttpLog.h Bug 1608523: Add MOZ_LOG_TIME() to allow time ranges for logs r=froydnj 2020-01-14 21:36:19 +00:00
HttpTrafficAnalyzer.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
HttpTrafficAnalyzer.h Bug 1537761 - P1: Send an IPC message for ClearHostMapping() r=dragana 2020-03-10 16:28:47 +00:00
HttpTrafficAnalyzer.inc
HttpTransactionChild.cpp Bug 1651714 - Reduce expensive includes for TabMessageUtils.h. r=smaug 2020-07-15 13:24:20 +00:00
HttpTransactionChild.h Bug 1623380 - Send ODA directly to content process r=dragana 2020-05-07 14:39:21 +00:00
HttpTransactionParent.cpp Bug 1646358 - Only set 'Alt-Used' when the header is not empty r=dragana 2020-07-14 11:38:46 +00:00
HttpTransactionParent.h Bug 1646358 - Calculate request size in parent process r=dragana 2020-07-14 11:38:51 +00:00
HttpTransactionShell.h Bug 1623380 - Send ODA directly to content process r=dragana 2020-05-07 14:39:21 +00:00
InterceptedChannel.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
InterceptedChannel.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
InterceptedHttpChannel.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
InterceptedHttpChannel.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
NullHttpChannel.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
NullHttpChannel.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
NullHttpTransaction.cpp Bug 1600254 - P4: Make HttpActivityObserver work in socket process r=dragana 2020-01-30 13:00:11 +00:00
NullHttpTransaction.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
PAltDataOutputStream.ipdl
PAltService.ipdl Bug 1537761 - P2 Add an IPC message for AltSvcMapping::ProcessHeader r=dragana 2020-03-10 16:28:49 +00:00
PAltSvcTransaction.ipdl Bug 1527384 - Introduce PAltSvcTransaction for carrying the validated result from socket process to parent process r=dragana 2020-03-17 16:32:12 +00:00
PBackgroundDataBridge.ipdl Bug 1623380 - Send ODA directly to content process r=dragana 2020-05-07 14:39:21 +00:00
PClassifierDummyChannel.ipdl
PHttpBackgroundChannel.ipdl Bug 1646592 - P3 Sending endpoint of stream filter via PHttpBackgroundChannel, r=mayhemer,necko-reviewers 2020-07-07 21:46:01 +00:00
PHttpChannel.ipdl Bug 1646592 - P3 Sending endpoint of stream filter via PHttpBackgroundChannel, r=mayhemer,necko-reviewers 2020-07-07 21:46:01 +00:00
PHttpChannelParams.h Bug 1649807 - Ignore Pragma: no-cache if Cache-Control is specified. r=mayhemer,necko-reviewers 2020-07-03 14:04:31 +00:00
PHttpConnectionMgr.ipdl Backed out 3 changesets (bug 1653642, bug 1497249) for causing Bug 1654282. 2020-07-22 11:31:30 +03:00
PHttpTransaction.ipdl Bug 1646358 - Calculate request size in parent process r=dragana 2020-07-14 11:38:51 +00:00
PSpdyPush.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
ParentChannelListener.cpp Bug 1196151 - use BrowsingContext for external helper app handling of protocols, r=mattwoodrow 2020-05-11 13:13:03 +00:00
ParentChannelListener.h Bug 1647557 - Add preffed-off code for controlling document loads directly from CanonicalBrowsingContext. r=nika,jya,necko-reviewers,dragana 2020-06-30 01:19:15 +00:00
QuicSocketControl.cpp Bug 1625841 - Check refPtr not weakPtr. r=valentin 2020-03-31 18:48:57 +00:00
QuicSocketControl.h Bug 1596409 - P1.2: Create PHttpTransaction IPC protocol r=dragana 2019-12-03 13:42:15 +00:00
README
TRRServiceChannel.cpp Bug 1649953 - Remove probe DNS_TRR_REDIRECTED, r=dragana,necko-reviewers 2020-07-24 08:19:42 +00:00
TRRServiceChannel.h Bug 1645486 - The TRR thread assertions should not depend on network_trr_fetch_off_main_thread pref r=valentin 2020-06-22 11:10:21 +00:00
TimingStruct.h
TunnelUtils.cpp Bug 1578230 - do not process transactions blocked on tunnel before a final response, r=mayhemer,necko-reviewers 2020-06-30 18:37:28 +00:00
TunnelUtils.h Bug 1578230 - do not process transactions blocked on tunnel before a final response, r=mayhemer,necko-reviewers 2020-06-30 18:37:28 +00:00
WellKnownOpportunisticUtils.jsm Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
components.conf
http2_huffman_table.txt
make_incoming_tables.py
make_outgoing_tables.py
moz.build Bug 1546358 - Forward cache entry check to parent process r=dragana 2020-05-25 11:07:07 +00:00
nsAHttpConnection.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsAHttpTransaction.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsCORSListenerProxy.cpp Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp 2020-07-15 11:20:45 +00:00
nsCORSListenerProxy.h Bug 1638513 - P3 strip request body header for preflight, r=valentin,necko-reviewers 2020-06-09 18:38:50 +00:00
nsHttp.cpp Bug 1646358 - Calculate request size in parent process r=dragana 2020-07-14 11:38:51 +00:00
nsHttp.h Bug 1646358 - Calculate request size in parent process r=dragana 2020-07-14 11:38:51 +00:00
nsHttpActivityDistributor.cpp Bug 1651714 - Reduce expensive includes for TabMessageUtils.h. r=smaug 2020-07-15 13:24:20 +00:00
nsHttpActivityDistributor.h Bug 1600254 - P4: Make HttpActivityObserver work in socket process r=dragana 2020-01-30 13:00:11 +00:00
nsHttpAtomList.h Bug 1644377 - Use only the first Http3 versionfrom AltSvc and add X_Firefox_Http3 header. r=michal,necko-reviewers 2020-06-10 10:24:49 +00:00
nsHttpAuthCache.cpp Bug 1643288 - Isolate HTTP channel authentication per first-party when privacy.partition.network_state is set to true - part 2 - nsIHttpProtocolHandler.authCacheKeys, r=mayhemer,necko-reviewers 2020-06-10 14:44:08 +00:00
nsHttpAuthCache.h Bug 1643288 - Isolate HTTP channel authentication per first-party when privacy.partition.network_state is set to true - part 2 - nsIHttpProtocolHandler.authCacheKeys, r=mayhemer,necko-reviewers 2020-06-10 14:44:08 +00:00
nsHttpAuthManager.cpp Bug 1599615 - Make some necko code less nsresult-happy. r=kershaw,valentin 2019-12-02 13:21:06 +00:00
nsHttpAuthManager.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttpBasicAuth.cpp
nsHttpBasicAuth.h
nsHttpChannel.cpp Bug 1648764 - map chromescripts into their own internal contentpolicytype r=ckerschb,smaug 2020-07-24 11:52:02 +00:00
nsHttpChannel.h Bug 1632215 - Make nsHttpChannel::mAuthRetryPending atomic to fix a bit field race, r=valentin,necko-reviewers 2020-06-30 19:03:51 +00:00
nsHttpChannelAuthProvider.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsHttpChannelAuthProvider.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttpChunkedDecoder.cpp Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +00:00
nsHttpChunkedDecoder.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttpConnection.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsHttpConnection.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttpConnectionInfo.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsHttpConnectionInfo.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttpConnectionMgr.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsHttpConnectionMgr.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttpDigestAuth.cpp
nsHttpDigestAuth.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttpHandler.cpp Bug 1652104 - Add telemtery about HTTP3 usage. r=michal,necko-reviewers 2020-07-16 04:03:35 +00:00
nsHttpHandler.h Bug 1637648 - P3: Forward observer notifications to socket process for nsHttpHandler r=dragana 2020-06-23 11:11:29 +00:00
nsHttpHeaderArray.cpp
nsHttpHeaderArray.h Bug 1626570 - Improve handling of copying arrays in netwerk/protocol/. r=valentin,necko-reviewers 2020-05-06 11:50:57 +00:00
nsHttpNTLMAuth.cpp Bug 1621251 Replace NS_ADDREF(*var = other) with *var = do_AddRef(other).take() in /netwerk r=valentin 2020-03-17 15:05:26 +00:00
nsHttpNTLMAuth.h
nsHttpRequestHead.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsHttpRequestHead.h Bug 1638513 - P1 extract parsing method, r=valentin,necko-reviewers 2020-06-09 18:19:42 +00:00
nsHttpResponseHead.cpp Bug 1649807 - Ignore Pragma: no-cache if Cache-Control is specified. r=mayhemer,necko-reviewers 2020-07-03 14:04:31 +00:00
nsHttpResponseHead.h Bug 1649807 - Ignore Pragma: no-cache if Cache-Control is specified. r=mayhemer,necko-reviewers 2020-07-03 14:04:31 +00:00
nsHttpTransaction.cpp Bug 1646358 - Remove unnecessary main thread dispatch, r=dragana 2020-07-14 17:33:12 +00:00
nsHttpTransaction.h Bug 1554218 - pass headers to nsHttpChannel for H2 proxy returning 407 r=mayhemer,necko-reviewers 2020-04-21 19:32:47 +00:00
nsIBackgroundChannelRegistrar.idl
nsICorsPreflightCallback.h
nsIHttpActivityObserver.idl Bug 1600254 - P4: Make HttpActivityObserver work in socket process r=dragana 2020-01-30 13:00:11 +00:00
nsIHttpAuthManager.idl
nsIHttpAuthenticableChannel.idl
nsIHttpAuthenticator.idl
nsIHttpChannel.idl Bug 1638513 - P2 let nsIHttpChannel implement shouldStripRequestBodyHeader, r=valentin,necko-reviewers 2020-06-09 18:20:15 +00:00
nsIHttpChannelAuthProvider.idl
nsIHttpChannelChild.idl
nsIHttpChannelInternal.idl Backed out 3 changesets (bug 1653642, bug 1497249) for causing Bug 1654282. 2020-07-22 11:31:30 +03:00
nsIHttpHeaderVisitor.idl
nsIHttpProtocolHandler.idl Bug 1643288 - Isolate HTTP channel authentication per first-party when privacy.partition.network_state is set to true - part 2 - nsIHttpProtocolHandler.authCacheKeys, r=mayhemer,necko-reviewers 2020-06-10 14:44:08 +00:00
nsIRaceCacheWithNetwork.idl
nsIWellKnownOpportunisticUtils.idl
nsServerTiming.cpp
nsServerTiming.h

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>