Patrick McManus
bd52f0a141
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
22b0a93620
Bug 665518 - Websocket enforce high bit of 64 bit length r=biesi
2011-06-21 10:49:04 -04:00
Patrick McManus
5b02e427a2
backout 15c3543f4647 so it can be re-merged with valid description
2011-06-21 10:45:24 -04:00
Patrick McManus
ce224ccb4c
backout 627d6b32976b so it can be re-merged with valid description
2011-06-21 10:45:03 -04:00
Patrick McManus
c973256a9b
backout b22f0cccfa7f so it can be re-merged with bug number in description
2011-06-21 10:44:07 -04:00
Patrick McManus
20fd46de06
backout cf7152d215b2 so it can be re-merged with bug number in description
2011-06-21 10:43:32 -04:00
Patrick McManus
906e5d5ee5
backout 923beecc0fe5 so it can be re-merged with bug number in description
2011-06-21 10:42:54 -04:00
Patrick McManus
d9e6b1c387
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
1af9ad819b
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
99a088299d
websockets -08 sec 7.4.1 defines two new close codes r=biesi
2011-06-21 09:47:34 -04:00
Patrick McManus
2eb9973d45
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
585c62f36d
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
4673071850
Bug 660527 Remove useless uses of PromiseFlatCString r=biesi
2011-06-16 21:25:20 +01:00
Patrick McManus
816f913204
bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab
2011-06-15 10:24:09 -04:00
Matt Brubeck
05ba6d9949
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
6475d4cba1
bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab
2011-06-15 10:24:09 -04:00
Philipp von Weitershausen
dde049e1a4
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
5adc75dcca
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
ad90f2849f
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
0e96cd6602
merge m-c and b-s
2011-06-13 09:09:43 -04:00
Ed Morley
13cfc322c6
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
b4c69a2641
Bug 660774 - e10s necko: refactor channelEventQueue to allow async resume/flush. r=jdm
2011-06-11 18:37:09 -07:00
Nick Hurley
1ad89c8107
Bug 637339 - Improve error handling in HttpChannelChild. r=honzab
2011-06-11 18:37:03 -07:00
bjarne@runitsoft.com
a56b28739e
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
fbda4a0016
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
9e7756cdd8
Bug 659944 - Remove leftover MOZ_IPC ifdef in nsHttpChannel.cpp; r=cbiesinger
2011-06-11 09:12:34 +02:00
Jason Duell
c3dc5dfee5
Bug 663229 - e10s HTTP: initialize prnetaddrs correctly in child. r=jdm
2011-06-09 14:02:09 -07:00
Kyle Huey
57525def50
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
5ba1a90b24
Bug 662122: Add leak logging annotations to some WebSockets classes. r=mcmanus
2011-06-07 13:12:19 -07:00
Jonathan Protzenko
471035dfb8
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
a7729206bb
Bug 661517 - nsWebSocketHandler.cpp fails to compile on mingw-w64 r=mcmanus DONTBUILD
2011-06-06 13:16:22 +02:00
Patrick McManus
a3bd95ba49
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
a3ce4a43ba
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
5c71575e07
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Patrick McManus
2b8f454193
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
dd578abbd8
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
4814010508
Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, r=bz
2011-05-29 15:55:38 +02:00
Bjarne
cf152b759d
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
cd167935e5
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
6f2d4e2fe9
Merge cedar to mozilla-central
2011-05-24 14:55:37 -07:00
Daniel Holbert
004a216009
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
b1ac5604f9
Back out bug 658949 because of perma orange on Windows Reftests.
2011-05-24 15:36:32 +02:00
Daniel Holbert
1d8fa11196
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
5dc21abb4e
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
903619ebec
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
c9ef346449
Add missing OnExamineResponse() call to e10s HTTP. r=biesi
2011-05-23 22:14:16 -07:00
Christian Biesinger
59a9ad1c36
Bug 658822 - Fix implementation of DNS timing in nsITimedChannel; r=jduell
2011-05-22 21:29:42 -07:00
Honza Bambas
c886c4fac5
Bug 658876 - nsHttpChannel.mAsyncOpenTime should be set after mLoadGroup->AddRequest, r=cbiesinger
2011-05-23 16:38:24 +02:00
bjarne@runitsoft.com
2f13a0eeef
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
03f215ff80
bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz
2011-05-21 21:27:52 -04:00
Daniel Holbert
3a67517f4e
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
cc8996c23f
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
a6e0fccb1f
Bug 576006 - Implement timing interface for channels
...
r=jduell sr=bz
2011-05-21 03:03:36 -07:00
Patrick McManus
4311ce2b88
bugzilla 640213 Implement RFC 2616 "Upgrade" (Section 14.42) r=biesi sr=bz
2011-05-19 19:43:37 -04:00
Patrick McManus
74007035a2
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
8624af9ef4
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
dc8c9f3c30
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
Phil Ringnalda
0127df0806
Back out 40d44ce2377e (bug 640213) on suspicion of causing Windows crashes and timeouts in media tests
2011-05-14 20:13:57 -07:00
Patrick McManus
3d31df4853
Bug 640213 - Implement HTTP 2616 Upgrade. r=biesi, sr=bz.
2011-05-14 18:55:54 +01:00
Phil Ringnalda
fded848650
Back out 93604789da99 (bug 637339) on suspicion of causing timeouts in Linux debug test_httpsuspend_wrap.js CLOSED TREE
2011-05-13 20:48:38 -07:00
Nick Hurley
b00f80a1a1
Bug 637339 - Improve error handling in HttpChannelChild. r=jduell
2011-05-13 18:02:07 -07:00
Daniel Holbert
526a8ff9fb
Merging cedar with mozilla-central.
2011-05-13 17:17:56 -07:00
Patrick McManus
cf1c733b57
bug 654201 - an idle persistent connection could be run with the wrong security callbacks r=honzab
2011-05-13 13:28:30 -07:00
Patrick McManus
111d1d4712
bug 640003 - websockets, nsIIOService2::NewChannelFromURIWithProxyFlags() r=biesi sr=bz
2011-05-13 13:53:27 -04:00
Dão Gottwald
3411213570
Bug 655628 - Remove unused Accept_Charset atom. r=biesi
...
--HG--
extra : rebase_source : 27f4ded368d8ed2519eb40bdb96bbfa6ff06111d
2011-05-10 09:46:14 +02:00
Michael Wu
0326e57b8f
Merge backout (to fix bug 656172)
2011-05-10 19:10:01 -07:00
Michael Wu
ede6efdcce
Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer
2011-05-10 18:27:51 -07:00
Ed Morley
6d14b87d8e
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Mike Hommey
8153d88de1
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
f3a79067ff
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
Mike Hommey
c3297a15ef
Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg
2011-02-25 12:48:02 +01:00
Mounir Lamouri
a417e05ec5
Merging cedar with mozilla-central.
2011-05-08 18:23:36 +02:00
Ed Morley
3315fddcb4
Bug 654552 - Remove WinCE code from netwerk/* ; r=cbiesinger
2011-05-07 10:03:16 +02:00
Nick Hurley
a34b50aedd
bug 648878 - move get(local|remote)(address|port) to httpchannelchild r=jduell
2011-05-05 11:45:59 -04:00
Boris Zbarsky
7a3521f93f
Backed out changeset 998b91ea0ffa (bug 648878) because it doesn't build on Windows.
2011-05-03 19:34:58 -04:00
Nick Hurley
f5560a24a4
bug 648878 - move get(local|remote)(address|port) to httpchannelchild, r=jduell
2011-05-03 17:47:05 -04:00
Patrick McManus
bfb86a6c8c
Bug 653530 - HTTP Transaction multiply dispatched r=honzab
...
--HG--
extra : rebase_source : 6ba6ea647bd83154f03ded03ec4fc88580fc8f2f
2011-04-29 15:32:40 -04:00
Chris Jones
fbd51041fd
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Patrick McManus
015c0d2cba
bug 652761 ABORT: half open complete but no item: 'index != -1' with embedded src port 80000 r=honzab
2011-04-28 17:43:24 -04:00
Ms2ger@gmail.com
b7c2580e99
Bug 572652 - Remove the Accept-Charset header from HTTP requests. r=bz
2011-05-08 10:33:18 +02:00
Daniel Holbert
ce3659ba11
Bug 650871: Use unsigned int as loop counter in nsHttpConnectionMgr::OnMsgReclaimConnection, to fix GCC warning. r=biesi r=mcmanus
2011-04-20 01:28:38 +02:00
Patrick McManus
efd8cefedd
bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell
...
--HG--
extra : rebase_source : cdcfdf33e201ba83ab9b3370facf8c7a16fe469d
2011-04-13 08:59:29 -04:00
L. David Baron
04e5b470d6
Backout changeset e6d044d30abf (bug 607741) for not compiling.
2011-04-11 23:17:43 -07:00
Patrick McManus
10ac8d7e82
bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell
2011-04-11 22:37:59 -07:00
Ehsan Akhgari
dd3a8d499b
Backout changeset 649e429d342f (bug 607741) because of mobile tree oranges
2011-04-11 13:28:41 -04:00
Ehsan Akhgari
4ef08abf2b
Merge cedar into mozilla-central
2011-04-10 15:11:22 -04:00
Honza Bambas
0891222f0f
Bug 526207: Make IP address and port information available to HTTP activity observers. r=biesi
2011-04-10 10:33:08 -07:00
Jason Duell
bd514f3cec
Bug 561694: Optimize IPDL traffic for necko OnProgress/OnStatus. r=honzab
2011-04-09 20:42:05 -07:00
Patrick McManus
2f329f265c
bugzilla 595316 remove static cast of nsAHttp* objs r=honzab
...
--HG--
extra : rebase_source : 1226b809dc071fa71340e461a6fde36c8da7d39b
2011-04-08 14:37:16 -04:00
Patrick McManus
d8a67aa20b
624739 - sort idle persistent http connections by pereceived server cwnd
...
--HG--
extra : rebase_source : 29c50d0c0e99220bb87b5f584188fad49cc33439
2011-04-08 14:36:47 -04:00
Patrick McManus
4bb1db4c71
bug 607741 - lift 50 socket limitation r=jduell
...
raise sockettransportservice max sockets to 550 from 50 for linux, os
x, and windows >= xp. This does not change the default http
max-connections config (which remains at 30), but does allow
configurations above 50 to work and will enhance the utility of other
systems that use the sockettransportservice.
win9x provides a small number of sockets (100), so we just leave the
limits unchanged there out of conservatism.
--HG--
extra : rebase_source : 9d7a4b5a9112e17144fb510e3d8eb188919e5bf4
2011-04-08 14:36:38 -04:00
Ehsan Akhgari
4b7853e3d5
Merge cedar into mozilla-central
2011-04-06 16:39:14 -07:00
Matheus Kerschbaum
08c43219e7
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Patrick McManus
b792ad2ed1
Bug 643352 keep-alive header syntax invalid r=bz
...
don't send the keep-alive request header. It is redundant to
connection: keep-alive and we don't send the right syntax anyhow.
2011-03-23 11:02:33 -04:00
Patrick McManus
5b591c6bf1
Bug 632419 - HTTP 100 level parser race condition r=bz
2011-03-23 10:59:58 -04:00
Daniel Holbert
14a7619b41
Bug 623948 followup: Fix gcc 4.5 build error by explicitly extracting pointer from nsRefPtr in 2 LOG lines. r=ehsan
2011-04-01 14:38:46 -07:00
Julian Seward
c0b2af6c12
Bug 560579 - bitfield-induced race in class nsHttpTransaction; r=biesi
2011-03-24 15:51:00 -04:00
Ehsan Akhgari
a840ac73bd
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Jeff Muizelaar
28a9e6cd90
Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg
2011-03-31 20:15:04 -04:00
Patrick McManus
b2ad0c9e8e
bug 623948 - Accelerate TCP connection retries in HTTP r=honzab
2011-03-31 15:38:30 -04:00