Commit Graph

2899 Commits

Author SHA1 Message Date
Honza Bambas
0b2b971e93 Bug 662555 - Race condition when measuring responseEnd; r=jduell.mcbugs 2011-08-21 09:27:29 +01:00
timeless
78fbf2987a Bug 620306 - Crash [@ nsFtpState::Init] for oom from BeginWriting(); r=biesi 2011-08-21 09:27:29 +01:00
Benjamin Smedberg
43c6b83772 Bug 675221 part C - Remove XPCOM proxy usage from necko, r=jduell
--HG--
extra : rebase_source : 7bf53b5ac6f52df0224f4fdad78e172762fa7c64
2011-08-19 11:47:43 -04:00
Edgar Flores
153c6aff41 Bug 624743 - Resource protocol shouldn't use nsDependentCString. r=bsmedberg 2011-08-11 21:43:00 -04:00
Patrick McManus
373ce83799 Bug 675983 - Websockets - fail connection on 1st fragment with a continuation op code 2011-08-08 23:41:22 -07:00
Honza Bambas
cf3dc1ba8d Bug 675804, r=jduell 2011-08-08 14:20:02 +02:00
Jason Duell
749d97aaae bug 675784 - websockets early cancel part 2/2 r=mcmanus. 2011-08-07 09:44:19 -04:00
Patrick McManus
7fdc6c1a65 bug 675784 - websockets early cancel part 1/2 r=jduell 2011-08-07 09:43:53 -04:00
Patrick McManus
c1f1127ab0 bug 675919 - websockets fail connection on unknown control code. r=jduell 2011-08-04 22:45:55 -07:00
Patrick McManus
2afbb597ef Bug 675961 - Websockets: error in removing processed control frame from buffered fragment sequence. r=jduell 2011-08-04 22:43:52 -07:00
Patrick McManus
2f338d19b9 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Michael Wu
0c7ca8452e Bug 675873 - Switch nsHttpConnectionMgr from nsHashtable to nsClassHashtable, r=bz 2011-08-03 18:59:10 -07:00
Patrick McManus
19ad699c32 bug 674716 - websockets API close reason codes and messages r=sicking r=biesi sr=bz
--HG--
extra : rebase_source : f7a0eb6b310f29f8e697c26ff5e0ef9d2fde559a
2011-08-03 15:15:25 -04:00
Patrick McManus
415852d1a2 bug 667853: Missing close() event if websocket::init fails. r=mcmanus, jdm 2011-08-02 16:55:17 -07:00
Evan Shaw
9275bf06f1 Bug 631967 - Fix unsafe pointer dereference. r=mayhemer 2011-07-21 22:29:00 -04:00
Michael Wu
b34f351453 Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
Patrick McManus
f2713ab50b bug 648941 - close persistent connections when transitioning in/out of private browsing r=bz 2011-07-25 16:25:01 -04:00
arno renevier
8b113fa3f1 Bug 561042 - remove http headers size limit. r=bz 2011-07-24 13:46:33 +02:00
Patrick McManus
e76948f3c0 bug 672384 - WebSocket connection drops on moderately-large fragmented messages r=biesi 2011-07-22 16:06:57 -04:00
Patrick McManus
958d4193a0 bug 628561 release http persistent connection on force reload r=bz
A force-reload now clears persistent connections to the server related
to the force-reloaded resource. This will allow renogitation of DNS or
server load balancing.
2011-07-22 12:31:37 -04:00
Marco Bonardo
dd95675537 Backout changesets 79a36ed03e14, d17ac9b0254e due to suspect xpcshell permaorange on OSX opt 2011-07-22 14:35:41 +02:00
Geoff Brown
89c95219da Bug 648429 - HTTP cache: compress compressible files; r=michal.novotny 2011-07-21 14:04:57 -04:00
arno renevier
8ed39834bd Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Kyle Huey
5ac670aeff Bug 671053: Explicitly drop nsHttpConnection's ref to the callbacks at transaction close rather than waiting for connection reuse/expiration. r=mcmanus 2011-07-14 11:09:48 -07:00
Patrick McManus
7855e8f09c bug 669936 emacs mode lines for websockets 2 space indents r=jduell 2011-07-07 15:39:24 -04:00
Patrick McManus
3e058b73a6 bug 669975 - websockets e10s mLoadGroup member duplicated r=jdm 2011-07-07 15:36:37 -04:00
Boris Zbarsky
91dfb50099 Bug 667907. For HTTP 0.9 on non-default ports, be more conservative. r=jduell 2011-07-07 14:17:13 -04:00
Jason Duell
28dfcfce52 bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:32 -07:00
Jason Duell
4f9293197f bug 664860. Convert WebSocketChannel to 2 space indents. r=biesi. 2011-07-04 21:18:34 -07:00
Jason Duell
a451b7e7a5 bug 664860. Rename nsWebSocketHandler -> WebSocketChannel. r=biesi
--HG--
rename : netwerk/protocol/websocket/nsWebSocketHandler.cpp => netwerk/protocol/websocket/WebSocketChannel.cpp
rename : netwerk/protocol/websocket/nsWebSocketHandler.h => netwerk/protocol/websocket/WebSocketChannel.h
2011-07-04 21:18:33 -07:00
Jason Duell
df9f677e15 Bug 664860. Rename nsIWebSocketHandler -> nsIWebSocketChannel. r=biesi
--HG--
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketChannel.idl
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketListener.idl
2011-07-04 21:18:32 -07:00
Marco Bonardo
82f7b47d00 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-04 12:46:07 +02:00
Christian Biesinger
9fdec57a7b bug 621558 - Disable IPv6 for the 300ms-delayed backup connection to improve
the user experience of people with broken IPv6 connectivity (i.e. implement
Chrome's "Happy Eyeballs" strategy)
r=mcmanus
2011-07-04 11:47:09 +02:00
Philipp von Weitershausen
2ee0c861e5 Bug 668642 - Make nsIHttpHeaderVisitor a [function] interface. r=bz 2011-06-30 23:55:56 +02:00
Josh Matthews
f0668c3546 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Joe Drew
9425d9553a Back out fcf08eff68eb (Bug 662555) for causing reftest assertions. 2011-06-28 14:41:14 -04:00
Honza Bambas
d4d2ac2788 Bug 662555 - Race condition when measuring requestEnd, r=jduell 2011-06-28 16:49:45 +02:00
Patrick McManus
d42343f0f5 bug 664305 - websocket max connection limitation r=biesi
--HG--
extra : rebase_source : 7229d30f28b529c0fe7f22277a21c9a0f007d14d
2011-06-25 14:28:27 -04:00
Ed Morley
3f49fdcb2a Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Jason Duell
4a3ad9b3f5 Bug 666502. DONTBUILD. Document how we make sure HTTP headers have been read by time OnStartRequest called. r=bz 2011-06-23 14:41:45 -07:00
Patrick McManus
53200f0d4e bug 663871 websockets -08 bump our version number and the version number in the test server r=biesi 2011-06-21 10:50:02 -04:00
Patrick McManus
c038b2b6e7 bug 663871 websockets -08 sec 7.1.1 says we SHOULD pause to allow server to send first TCP FIN r=biesi 2011-06-21 10:49:50 -04:00
Patrick McManus
76cbbd5b45 bug 663871 websockets -08 sec 7.4.1 defines two new close codes r=biesi 2011-06-21 10:49:38 -04:00
Patrick McManus
f61d8673d1 663871 - enforce messages that must be UTF-8 by checking that and failing the connection if necessary r=rbiesi 2011-06-21 10:49:19 -04:00
Patrick McManus
af71992097 Bug 665518 - Websocket enforce high bit of 64 bit length r=biesi 2011-06-21 10:49:04 -04:00
Patrick McManus
92a67d37bf backout 15c3543f4647 so it can be re-merged with valid description 2011-06-21 10:45:24 -04:00
Patrick McManus
1ecdc9816a backout 627d6b32976b so it can be re-merged with valid description 2011-06-21 10:45:03 -04:00
Patrick McManus
30ec6d6f8e backout b22f0cccfa7f so it can be re-merged with bug number in description 2011-06-21 10:44:07 -04:00
Patrick McManus
ec04fc1725 backout cf7152d215b2 so it can be re-merged with bug number in description 2011-06-21 10:43:32 -04:00
Patrick McManus
b37a45ac3c backout 923beecc0fe5 so it can be re-merged with bug number in description 2011-06-21 10:42:54 -04:00
Patrick McManus
3004a30914 websockets -08 bump our version number and the version number in the test server r=biesi 2011-06-21 09:47:35 -04:00
Patrick McManus
3428825e16 websockets -08 sec 7.1.1 says we SHOULD pause to allow server to send first TCP FIN r=biesi 2011-06-21 09:47:35 -04:00
Patrick McManus
7281fe681b websockets -08 sec 7.4.1 defines two new close codes r=biesi 2011-06-21 09:47:34 -04:00
Patrick McManus
bbe9bc608e 663871 - enforce messages that must be UTF-8 by checking that and failing the connection if necessary 2011-06-21 09:47:34 -04:00
Patrick McManus
f50ee46d79 Bug 665518 - Websocket enforce high bit of 64 bit length try: -b d -p linux -u mochitest-1 -t none 2011-06-21 09:47:32 -04:00
Neil Rashbrook
e7cd8cb3b5 Bug 660527 Remove useless uses of PromiseFlatCString r=biesi 2011-06-16 21:25:20 +01:00
Patrick McManus
e32fb82ff7 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Matt Brubeck
7c14d57369 Back out 58c903b0db40 (bug 658580) temporarily to get m-i in a known good state. 2011-06-15 09:39:42 -07:00
Patrick McManus
aa810f7af6 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Philipp von Weitershausen
45c351ac2c Back out bug 664163 (changeset cfb40abb9655) due to failure in test_traceable_channel_wrap.js 2011-06-15 11:00:04 +02:00
Jason Duell
216145aab8 Bug 664163. Fix implementation of Implement Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2011-06-14 09:12:03 -07:00
Josh Matthews
a52bb595df Bug 663893 - Avoid null dereferences in websocket handler. r=mcmanus
--HG--
extra : transplant_source : %07%15%DD%3B%BF%B8%8B%BFK%1E3%28%7F%BE%8Ek%EFPu%7B
2011-06-13 14:30:07 -04:00
Ted Mielczarek
b9712b1eab merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Jason Duell
aeeb58e404 Bug 660774 - e10s necko: refactor channelEventQueue to allow async resume/flush. r=jdm 2011-06-11 18:37:09 -07:00
Nick Hurley
c7f6b1cb89 Bug 637339 - Improve error handling in HttpChannelChild. r=honzab 2011-06-11 18:37:03 -07:00
bjarne@runitsoft.com
d706b41eb1 Bug 618835 - Cannot login to phpmyadmin if I made a typo during my first login attempt r=bz 2011-06-11 16:57:10 +02:00
timeless@mozdev.org
5475dd01c6 Bug 538724 Firefox 3.6.x + winxp topcrash starting ~Dec 30 and increasing [@ nsHttpTransaction::DeleteSelfOnConsumerThread() ]
r=biesi
2011-06-11 16:56:36 +02:00
Ed Morley
32dbced401 Bug 659944 - Remove leftover MOZ_IPC ifdef in nsHttpChannel.cpp; r=cbiesinger 2011-06-11 09:12:34 +02:00
Jason Duell
922a508a0e Bug 663229 - e10s HTTP: initialize prnetaddrs correctly in child. r=jdm 2011-06-09 14:02:09 -07:00
Kyle Huey
22c5117a8a Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push 2011-06-07 13:23:03 -07:00
Kyle Huey
e0ea14bd91 Bug 662122: Add leak logging annotations to some WebSockets classes. r=mcmanus 2011-06-07 13:12:19 -07:00
Jonathan Protzenko
e6410e5f11 Bug 662126 - Audit ConfirmEx callers to ensure that aCheckState is not an uninitialized PRBool r=bz 2011-06-07 20:06:12 +02:00
Jacek Caban
df683a2178 Bug 661517 - nsWebSocketHandler.cpp fails to compile on mingw-w64 r=mcmanus DONTBUILD 2011-06-06 13:16:22 +02:00
Patrick McManus
3c8dd8c40e Bug 661136 - websockets setuprequest in redirect path return not used r=beisi
--HG--
extra : rebase_source : e3ba9a7e4e5a5beb02c441ae03b3825e76e72d49
2011-06-02 20:48:06 -04:00
Patrick McManus
0afb802199 bug 660613 - websockets fix where platform has < 32bits of RAND_MAX r=biesi
--HG--
extra : rebase_source : 276be91e1eb90b5101536cc95e41d9b4e892f0e1
2011-06-02 20:48:06 -04:00
Dominic Fandrey
968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Patrick McManus
9647e6891f bug 597706 - response header smuggling r=honzab
reject responses with multiple non identical or invalid
content-length headers
2011-05-31 19:51:51 -04:00
Henri Sivonen
3dd30f77c3 Bug 656904 - Make the view-source: URL constructor pay attention to the base URL. r=bzbarsky. 2011-05-30 09:07:48 +03:00
Honza Bambas
1d79c5da4a Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, r=bz 2011-05-29 15:55:38 +02:00
Bjarne
65fdcea436 Fixing part of bug 659569. Fix issue with Firefox getting stuck in a redirect loop when connecting to Ubiquiti radio equipment. r=bzbarsky@mit.edu 2011-05-25 15:23:05 -07:00
Patrick McManus
f5a58bd8b8 604796 - close our idle HTTP connection when server closes its end r=honzab
--HG--
extra : rebase_source : b4c89df4d3eab7b7c8c60d625467847557bc7291
2011-05-16 09:32:37 -04:00
Matt Brubeck
8349139224 Merge cedar to mozilla-central 2011-05-24 14:55:37 -07:00
Daniel Holbert
5d3f90bd2b Bug 658949 patch 1: Teach nsDataHandler::ParseURI about #ref, and transfer 'isRefValid' flag in nsSimpleURI::Clone. r=bz 2011-05-24 17:40:10 +02:00
Mounir Lamouri
c82951ef5c Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert
102eebe611 Bug 658949 patch 1: Teach nsDataHandler::ParseURI about #ref, and transfer 'isRefValid' flag in nsSimpleURI::Clone. r=bz 2011-05-24 03:37:54 -07:00
Daniel Holbert
964a4cc7ed Bug 659177: Update signature of nsAboutProtocolHandler::StartClone so that it continues overriding inherited method. r=bz a=sheriff
--HG--
extra : rebase_source : 50a7c76c3ce1d6988161047ee534b50f84bd26eb
2011-05-24 09:06:18 +02:00
Jason Duell
d98052e70d Bug 646373 - Fix AdBlock2 on fennec (nsITraceableChannel.setNewListener() is unimplemented under e10s.) r=honza, a=queue 2011-05-24 02:32:26 -07:00
Jason Duell
345651b695 Add missing OnExamineResponse() call to e10s HTTP. r=biesi 2011-05-23 22:14:16 -07:00
Christian Biesinger
166c86719a Bug 658822 - Fix implementation of DNS timing in nsITimedChannel; r=jduell 2011-05-22 21:29:42 -07:00
Honza Bambas
44b47c4de7 Bug 658876 - nsHttpChannel.mAsyncOpenTime should be set after mLoadGroup->AddRequest, r=cbiesinger 2011-05-23 16:38:24 +02:00
bjarne@runitsoft.com
39045fbf7d Bug 633743 - reverting closed tab with pushState changes sends request with HTTP_X_REQUESTED_WITH:XMLHttpRequest r=bzbarsky
With this change, we check for ResponseWouldVary() to make sure that we're talking about the same entity as the caller before we worry about whether the caller passed LOAD_FROM_CACHE and such.  If what we have cached is just fundamentally different from what the caller wants, we don't want to return it.
2011-05-23 16:47:02 -04:00
Patrick McManus
01c51e2d07 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Daniel Holbert
9b63119f9a Bug 308590 patch 6: Fix nsDataHandler::NewURI to accept relative URI specifications like "#myRef". r=bz 2011-05-21 18:12:46 -07:00
Daniel Holbert
7c96f3c728 Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz 2011-05-21 18:12:46 -07:00
Christian Biesinger
132b0e1ea8 Bug 576006 - Implement timing interface for channels
r=jduell sr=bz
2011-05-21 03:03:36 -07:00
Patrick McManus
60bdd5f819 bugzilla 640213 Implement RFC 2616 "Upgrade" (Section 14.42) r=biesi sr=bz 2011-05-19 19:43:37 -04:00
Patrick McManus
5cbbb7cba7 Bug 654201 - avoid nsHttpConnection::IsAlive() running event loop for unused SSL connections r=honzab sr=biesi 2011-05-19 15:06:44 -04:00
Mike Hommey
addaf9f17c Bug 620931 part 4 - Fix resource://app/ to always point to the same as resource:///. r=bsmedberg 2011-05-10 15:50:15 +02:00
Mike Hommey
7de58a1cfa Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00