gecko-dev/netwerk/protocol/http
sagudev 94a5c2f430 Bug 1319881 - Remove UsingNeckoIPCSecurity r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D72534
2020-04-29 12:00:01 +00:00
..
ASpdySession.cpp
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 1617950 - Don't block main thread if data storage is not ready r=necko-reviewers,valentin,keeler 2020-04-27 22:02:43 +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
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
ClassifierDummyChannel.cpp Bug 1575090 - expose a response's COEP on nsIHttpChannelInternal r=JuniorHsu,necko-reviewers,valentin 2020-04-20 17:25:59 +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
DelayHttpChannelQueue.h
Http2Compression.cpp Bug 1623755 - Fix http version parsing. r=mayhemer 2020-03-23 18:38:45 +00:00
Http2Compression.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +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 1537761 - P2 Add an IPC message for AltSvcMapping::ProcessHeader r=dragana 2020-03-10 16:28:49 +00:00
Http2Session.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
Http2Stream.cpp Bug 1554218 - pass headers to nsHttpChannel for H2 proxy returning 407 r=mayhemer,necko-reviewers 2020-04-21 19:32:47 +00:00
Http2Stream.h Bug 1554218 - pass headers to nsHttpChannel for H2 proxy returning 407 r=mayhemer,necko-reviewers 2020-04-21 19:32:47 +00:00
Http3Session.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert 2020-04-05 13:34:58 +00:00
Http3Session.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
Http3Stream.cpp Bug 1624105 - We don't try to activate Http3Stream again if it failed once r=dragana 2020-03-21 23:51:58 +00:00
Http3Stream.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
HttpAuthUtils.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
HttpAuthUtils.h
HttpBackgroundChannelChild.cpp Bug 1619971 - Clear-site-data operations show appear in the console - part 1 - report and flush console events, r=dragana 2020-03-04 15:12:05 +00:00
HttpBackgroundChannelChild.h Bug 1619971 - Clear-site-data operations show appear in the console - part 1 - report and flush console events, r=dragana 2020-03-04 15:12:05 +00:00
HttpBackgroundChannelParent.cpp Bug 1619971 - Clear-site-data operations show appear in the console - part 1 - report and flush console events, r=dragana 2020-03-04 15:12:05 +00:00
HttpBackgroundChannelParent.h Bug 1619971 - Clear-site-data operations show appear in the console - part 1 - report and flush console events, r=dragana 2020-03-04 15:12:05 +00:00
HttpBaseChannel.cpp Bug 1624318 - Serialize replacement config input stream as a blob. r=baku,necko-reviewers,valentin 2020-04-27 04:49:00 +00:00
HttpBaseChannel.h Bug 1624318 - Serialize replacement config input stream as a blob. r=baku,necko-reviewers,valentin 2020-04-27 04:49:00 +00:00
HttpChannelChild.cpp Bug 1319881 - Remove UsingNeckoIPCSecurity r=valentin,necko-reviewers 2020-04-29 12:00:01 +00:00
HttpChannelChild.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
HttpChannelParent.cpp Backed out changeset 4d5737a94b82 (bug 1623038) for causing linux x64 opt build bustage in /builds/worker/checkouts/gecko/netwerk/protocol/http/HttpChannelChild.cpp CLOSED TREE 2020-04-07 21:26:53 +03:00
HttpChannelParent.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +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 Bug 1527384 - Implement SpeculativeConnect for socket process r=dragana 2020-03-17 16:32:32 +00:00
HttpConnectionMgrChild.h Bug 1527384 - Implement SpeculativeConnect for socket process r=dragana 2020-03-17 16:32:32 +00:00
HttpConnectionMgrParent.cpp Bug 1626775 - Remove redundant return in void function. r=sylvestre 2020-04-05 14:59:45 +00:00
HttpConnectionMgrParent.h Bug 1596409 - P4: Impl PHttpConnectionMgr IPC protocol r=dragana 2019-12-03 13:44:39 +00:00
HttpConnectionMgrShell.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
HttpConnectionUDP.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert 2020-04-05 13:34:58 +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
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 1537761 - P1: Send an IPC message for ClearHostMapping() r=dragana 2020-03-10 16:28:47 +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 1626743 - Fix the logic for the sniffer data r=dragana 2020-04-02 14:08:42 +00:00
HttpTransactionChild.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
HttpTransactionParent.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
HttpTransactionParent.h Bug 1619626 - Refactor TransactionObserver and fix the cycle issue r=dragana 2020-03-04 09:45:35 +00:00
HttpTransactionShell.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
InterceptedChannel.cpp Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer 2020-02-11 16:20:08 +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 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika 2020-04-07 15:16:33 +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 1622042 - Remove nsContentUtils::GetAsciiOrigin r=ckerschb 2020-03-26 13:20:35 +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
PClassifierDummyChannel.ipdl
PHttpBackgroundChannel.ipdl Bug 1619971 - Clear-site-data operations show appear in the console - part 1 - report and flush console events, r=dragana 2020-03-04 15:12:05 +00:00
PHttpChannel.ipdl Backed out changeset 4d5737a94b82 (bug 1623038) for causing linux x64 opt build bustage in /builds/worker/checkouts/gecko/netwerk/protocol/http/HttpChannelChild.cpp CLOSED TREE 2020-04-07 21:26:53 +03:00
PHttpChannelParams.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
PHttpConnectionMgr.ipdl Bug 1527384 - Implement SpeculativeConnect for socket process r=dragana 2020-03-17 16:32:32 +00:00
PHttpTransaction.ipdl Bug 1600254 - P7: Enable ContentSniffer for socket process r=dragana 2020-01-30 13:56:57 +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 1602318 - Defer nsIRemoteWindowContext load requests to avoid re-entrancy. r=nika,farre,necko-reviewers,dragana 2020-04-26 00:49:29 +00:00
ParentChannelListener.h Bug 1607984 - P9. Implement nsIThreadRetargetableStreamListener in ParentChannelListerner. r=valentin 2020-04-24 01:45:06 +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 1624996 - Add a probe to see how often TRR requests are redirected r=necko-reviewers,dragana 2020-04-17 10:21:05 +00:00
TRRServiceChannel.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
TimingStruct.h
TunnelUtils.cpp Bug 1554218 - pass headers to nsHttpChannel for H2 proxy returning 407 r=mayhemer,necko-reviewers 2020-04-21 19:32:47 +00:00
TunnelUtils.h Bug 1554218 - pass headers to nsHttpChannel for H2 proxy returning 407 r=mayhemer,necko-reviewers 2020-04-21 19:32:47 +00:00
WellKnownOpportunisticUtils.jsm
components.conf Bug 1513574 - Remove UAOverridesBootstrapper r=michal 2019-09-16 15:21:18 +00:00
http2_huffman_table.txt
make_incoming_tables.py
make_outgoing_tables.py
moz.build Bug 1619584 - P2: Implement redirection r=valentin,dragana 2020-03-18 15:13:09 +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 1627707 - Rename LoadInfo::LoadingPrincipal to GetLoadingPrincipal as it can return null. r=ckerschb 2020-04-06 18:57:36 +00:00
nsCORSListenerProxy.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttp.cpp Bug 1611651 - Add pref for stale-while-revalidate r=dragana 2020-03-10 19:04:43 +00:00
nsHttp.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttpActivityDistributor.cpp Bug 1628715 - Part 7: Add MOZ_NONNULL_RETURN to infallible nsTArray::AppendElements. r=xpcom-reviewers,necko-reviewers,nika,valentin 2020-04-24 13:31:14 +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 1621003 - Get rid of Set_Cookie2 nsHttp atom header, r=Ehsan 2020-03-09 16:58:08 +00:00
nsHttpAuthCache.cpp Bug 1610070 - Part 2: Fix up nsHttpAuthCache UniquePtr usage. r=mayhemer 2020-02-11 16:20:00 +00:00
nsHttpAuthCache.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +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 1625513 - Part 2: Completely remove nsIProcessSwitchRequestor, r=mattwoodrow,necko-reviewers,valentin 2020-04-21 22:33:01 +00:00
nsHttpChannel.h Bug 1625513 - Part 2: Completely remove nsIProcessSwitchRequestor, r=mattwoodrow,necko-reviewers,valentin 2020-04-21 22:33:01 +00:00
nsHttpChannelAuthProvider.cpp Bug 1629808 - Updated ConfirmAuth dialogs to be tab modal and re-enabled them. r=necko-reviewers,dragana 2020-04-24 13:14:11 +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 1554218 - pass headers to nsHttpChannel for H2 proxy returning 407 r=mayhemer,necko-reviewers 2020-04-21 19:32:47 +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 1600254 - P9: Avoild accessing http channel from transaction r=dragana 2020-01-30 13:38:39 +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 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika 2020-04-07 15:16:23 +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 Backed out 4 changesets (bug 1602832) for causing multiple xpcshell failures. 2020-04-23 16:25:26 +03:00
nsHttpHandler.h Bug 1607984 - P13. Proxy the first http-on-opening-request event to the DocumentChannel. r=mayhemer,necko-reviewers 2020-04-24 01:45:55 +00:00
nsHttpHeaderArray.cpp
nsHttpHeaderArray.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +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 1596409 - P1.2: Create PHttpTransaction IPC protocol r=dragana 2019-12-03 13:42:15 +00:00
nsHttpRequestHead.h Bug 1630511 - Replace MOZ_MUST_USE with [[nodiscard]] in netwerk. r=necko-reviewers,dragana 2020-04-18 06:37:32 +00:00
nsHttpResponseHead.cpp Bug 1542293 - Rewrite various nsHttpResponseHead::Get* to use Tokenizer r=valentin,mayhemer,necko-reviewers 2020-04-23 17:11:44 +00:00
nsHttpResponseHead.h Bug 1542293 - Rewrite various nsHttpResponseHead::Get* to use Tokenizer r=valentin,mayhemer,necko-reviewers 2020-04-23 17:11:44 +00:00
nsHttpTransaction.cpp Bug 1554218 - pass headers to nsHttpChannel for H2 proxy returning 407 r=mayhemer,necko-reviewers 2020-04-21 19:32:47 +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 1545423 - P1 Expose requestSize to nsIHttpChannel r=dragana 2019-10-31 03:59:36 +00:00
nsIHttpChannelAuthProvider.idl
nsIHttpChannelChild.idl
nsIHttpChannelInternal.idl Bug 1575090 - expose a response's COEP on nsIHttpChannelInternal r=JuniorHsu,necko-reviewers,valentin 2020-04-20 17:25:59 +00:00
nsIHttpHeaderVisitor.idl
nsIHttpProtocolHandler.idl Bug 1607984 - P13. Proxy the first http-on-opening-request event to the DocumentChannel. r=mayhemer,necko-reviewers 2020-04-24 01:45:55 +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>