Commit Graph

1411 Commits

Author SHA1 Message Date
Phil Ringnalda
61966eed95 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
5643294005 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
David Fifield
1d3720fb4e Bug 1017769 - Make the CONNECT Host header the same as the Request-URI. r=mcmanus
It's possible to construct a request where the Host header differs from
the authority in the URL, for example in an extension with
nsIHttpChannel and setRequestHeader. MakeConnectString generates a
host:port string for the CONNECT Request-Line, but peeks into the
tunneled request in order to copy the Host header to the proxy request.

Instead, use the same host:port string for Host as is used in the
Request-URI, to avoid revealing the plaintext of the Host header outside
of the tunnel.
2014-05-29 11:01:02 -07:00
Bob Owen
ea60bbce24 Bug 985135 - When owner is a null principal, propagate to replacement channel on redirect. r=bz 2014-05-28 15:04:04 +01:00
Nicholas Hurley
cb23e52576 Bug 1017692 - More logging for HPACK. r=mcmanus 2014-05-30 16:16:23 -07:00
Honza Bambas
1993caee58 Bug 1017636 - Remove all conditional request headers when cache entry's sec-info or input fails to open, r=mcmanus, a=ryanvm on a CLOSED TREE 2014-05-29 19:42:33 +02:00
Doug Turner
7a046ac045 Bug 995430 - send header when user is signed into a children\'s account. r=mcmanus 2014-05-05 14:30:42 -07:00
Monica Chew
3f0f699d9c Bug 974018: Implement nsIRedirectHistory (r=mayhemer) 2014-05-22 12:58:23 -07:00
Patrick McManus
8c23b34502 bug 1014589 - problem with https proxying and http pipelines r=hurley
--HG--
extra : rebase_source : 7c4f9f80d37102baa8951961d54b6ff842a19afb
2014-05-22 17:49:04 -04:00
Birunthan Mohanathas
f9b1b35c3e Bug 869836 - Part 11: Use Append('c') instead of AppendLiteral("c"). r=ehsan
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00
Birunthan Mohanathas
76ca8ec617 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
c4568a7085 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
807e72372f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Honza Bambas
05454905d8 Bug 779899 - Move nsHttpChannel::CreateNewURI to a different place in the file, r=mcmanus 2014-05-21 23:42:08 +02:00
Patrick McManus
566a392ad9 bug 1013934 - NS_ERROR_CORRUPTED_CONTENT should be a stream local error in http2 r=hurley 2014-05-21 14:09:48 -04:00
Patrick McManus
c095e081f4 bug 1013623 - make nsHttpPipeline.mConnection a smart pointer r=hurley 2014-05-21 10:01:56 -04:00
Patrick McManus
3794ffe8c0 bug 1012827 - release https proxy connect serialization earlier r=hurley 2014-05-19 15:37:58 -04:00
Patrick McManus
ab3d1b6589 bug 1012825 - https proxying over http/2 connect stream r=hurley 2014-05-19 15:37:35 -04:00
Trevor Saunders
4abce4092c bug 1004746 - part 1 - Remove a bunch of usage of nsAutoPtr's copy ctor r=froydnj 2014-05-07 18:05:37 -04:00
Honza Bambas
3ea4ce8b03 Bug 998608 - Intermittent netwerk/test/unit/test_range_requests.js | request reports itself as not pending from onDataAvailable, r=michal 2014-05-17 15:38:50 +02:00
Patrick McManus
653d8ee125 bug 378637 part 15 - pipeline::setconnection(nullptr) is never assertable r=hurley
--HG--
extra : rebase_source : e408216599be91fa3c33e84fa3ef41c0d93b8d7d
2014-05-16 11:46:13 -04:00
Patrick McManus
86f1d898a3 bug 378637 part 14 - https proxying for spdy31 and http2 r=hurley
--HG--
extra : rebase_source : 03a62d69b08f725c85f092b182a95de9c4eb7288
2014-05-16 11:46:13 -04:00
Patrick McManus
8b977b2f91 bug 378637 part 13 - https proxying changes to casting and trans lifecycle r=hurley
--HG--
extra : rebase_source : 9ba1d5a5c97e6fb42956433dd6738cbec0e8e90c
2014-05-16 11:46:12 -04:00
Patrick McManus
7b65ad0857 bug 378637 part 12 - proxy over TLS (i.e. https proxying) r=hurley
--HG--
extra : rebase_source : 85b4f6b3eb1a3977ff888fa70214055a41f72da5
2014-04-16 09:52:43 -04:00
Patrick McManus
34bfbf073e bug 378637 part 11 - move MakeConnectString() to nsHttpHandler r=hurley
--HG--
extra : rebase_source : 683d8c5203a17d8869bbce0bbdaeee0dc683442a
2014-04-22 15:46:06 -04:00
Patrick McManus
57ed828988 bug 378637 part 10 - implement nsAHttpTransaction::ConnectionInfo r=hurley
--HG--
extra : rebase_source : b4b955c652b14e750013130428b71e2e308fead3
2014-04-20 12:01:35 -04:00
Patrick McManus
94d5eb9b05 bug 378637 part 9 - https proxy info added to connection info and reqeuest head r=hurley
--HG--
extra : rebase_source : 30bfa9973c18e2a53ece4ea5056b38c151f49cf0
2014-04-16 09:23:20 -04:00
Patrick McManus
e43fc836b0 bug 378637 part 7 - new spdysession() no longer takes first transaction r=hurley
--HG--
extra : rebase_source : af83fcffa83f1da4250b0a9528e148619f9e3838
2014-05-16 11:46:11 -04:00
Patrick McManus
8dbfa21bc9 bug 378637 part 6 - implement nsAHttpTransaction::QueryHttpTransaction r=hurley
--HG--
extra : rebase_source : d2981bb9e47cf9a8f6d038a0c6db6a85f3170f97
2014-04-15 17:40:23 -04:00
Patrick McManus
f8efbbee1e bug 378637 part 5 - move Spdy*::EnsureBuffer to nsHttp r=hurley
--HG--
extra : rebase_source : 147ffb4842069ac7531e99d7decb9362a2566556
2014-04-15 17:06:59 -04:00
Patrick McManus
ce4dbb322c bug 378637 part 4 - more proactive failed to connect detection in nsHttpConnection r=hurley
--HG--
extra : rebase_source : 65004f57b9c464f03050a8597b28a678c6ca8f47
2014-04-02 17:26:58 -04:00
Patrick McManus
f8a53af3a1 bug 378637 part 3 - fix http style: comments, whitespace, formatters r=hurley
--HG--
extra : rebase_source : 9d2b0692298fca2655023b3bc6295386a96625e6
2014-04-17 19:55:04 -04:00
Patrick McManus
9d67ad9905 bug 378637 part 2 - change some stack nscstrings to spdystream* autocstring r=hurley
--HG--
extra : rebase_source : 9b88e9c875416576c8770e1b1f1d6de8b2402ac5
2014-04-25 16:01:23 -04:00
Patrick McManus
adcb4acc71 bug 378637 part 1 - add leak detection macros to http classes r=hurley
--HG--
extra : rebase_source : c846cba060509be22a2a3387929ffa724dba7f40
2014-04-21 08:54:07 -04:00
Ryan VanderMeulen
96ed00e142 Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Honza Bambas
f801eecbce Bug 998608 - Intermittent netwerk/test/unit/test_range_requests.js | request reports itself as not pending from onDataAvailable!, r=michal 2014-05-16 17:13:04 +02:00
Nicholas Hurley
19786453ec Bug 1006804 - Enforce TLS key type and size restrictions in HTTP/2. r=mcmanus. 2014-05-14 10:37:05 -07:00
Daniel Stenberg
21d61134ab Bug 1007024 - CopyAsNetwork32 inserts 32bit network byte order values. r=mcmanus
CopyAsNetwork32 is a convenience function to make the PR_htonl() +
memcpy use in the code less repetitive.
2014-05-14 01:01:00 +02:00
Sylvestre Ledru
2a9f2685ae Bug 1003929: Remove some useless declarations in netwerk/protocol/ found by scan-build, the LLVM/Clang static analyzer. r=mcmanus 2014-05-13 17:18:20 +02:00
Ryan VanderMeulen
72940c2d4c Backed out 11 changesets (bug 378637) for Android crashes.
Backed out changeset 2a607cddc4cb (bug 378637)
Backed out changeset e416503aea99 (bug 378637)
Backed out changeset b2257226899f (bug 378637)
Backed out changeset dafd618c3f52 (bug 378637)
Backed out changeset dfde9d47d8c4 (bug 378637)
Backed out changeset cf9de5c367a5 (bug 378637)
Backed out changeset 62aa68e8b499 (bug 378637)
Backed out changeset 38efa8f2e56e (bug 378637)
Backed out changeset 2b5753e09a92 (bug 378637)
Backed out changeset 7a73873e133d (bug 378637)
Backed out changeset f58ce7ac1c7f (bug 378637)
2014-05-09 15:25:55 -04:00
Patrick McManus
16efa82b79 bug 378637 part 11 - proxy over TLS (i.e. https proxying) r=hurley
--HG--
extra : rebase_source : 8962538247666781e30eaa3b9673b857ec150204
2014-04-16 09:52:43 -04:00
Patrick McManus
0007fab674 bug 378637 part 10 - move MakeConnectString() to nsHttpHandler r=hurley
--HG--
extra : rebase_source : 3eadd579f343b4c275310d9d0b1ff79447ac5ee2
2014-04-22 15:46:06 -04:00
Patrick McManus
fda5d0009e bug 378637 part 9 - implement nsAHttpTransaction::ConnectionInfo r=hurley
--HG--
extra : rebase_source : d69a64d0320c8b0d8a61fe4b6b127b1daa2d2c4d
2014-04-20 12:01:35 -04:00
Patrick McManus
e1b10b69b0 bug 378637 part 8 - https proxy info added to connection info and reqeuest head r=hurley
--HG--
extra : rebase_source : 4f3da5ae8a21fbfeee2b4b8dbcfa7dc4990eac61
2014-04-16 09:23:20 -04:00
Patrick McManus
438e608ba7 bug 378637 part 6 - implement nsAHttpTransaction::QueryHttpTransaction r=hurley
--HG--
extra : rebase_source : 9e08e2f136b217d62e69da2cb2bb1c16422be520
2014-04-15 17:40:23 -04:00
Patrick McManus
4c2704fe92 bug 378637 part 5 - move Spdy*::EnsureBuffer to nsHttp r=hurley
--HG--
extra : rebase_source : 015e1e73261153a747dc5430f377ed29858903d1
2014-04-15 17:06:59 -04:00
Patrick McManus
c794b9e25a bug 378637 part 4 - more proactive failed to connect detection in nsHttpConnection r=hurley
--HG--
extra : rebase_source : 6b1637d328c3a78bc1f6ea0e35b912a84f689b24
2014-04-02 17:26:58 -04:00
Patrick McManus
ea460891be bug 378637 part 3 - fix http style: comments, whitespace, formatters r=hurley
--HG--
extra : rebase_source : 9c9af71e086422ee3dbb5b2f6cf08611252ae456
2014-04-17 19:55:04 -04:00
Patrick McManus
b84790ad02 bug 378637 part 2 - change some stack nscstrings to spdystream* autocstring r=hurley
--HG--
extra : rebase_source : 330ac5e429501191430b3f1c9cfc45f21957f7db
2014-04-25 16:01:23 -04:00