Commit Graph

1909 Commits

Author SHA1 Message Date
Randell Jesup
11ddf50250 Bug 622981: Fix relative query/ref/param-only URLs where the base URL has encoded chars. Also greatly expand test_URI.js coverage from RFC 3986. r=bz 2011-07-12 14:07:24 -04:00
Julian Reschke
961da6fd61 Bug 670333. Make sure that when parsing MIME header params we check for the actual presence of a '=' between the name and the value. r=bzbarsky 2011-07-11 15:27:26 -04:00
Doug Turner
0efa167f2b Bug 667980: Expose network connection type to chrome. r=dougt
Add an attribute to nsINetworkLinkService that represents the connection type,
and add code to the android back-end to expose the connection type and notify
when it changes.
2011-07-10 15:24:05 -07:00
Patrick McManus
d294fd5e2d bug 669936 emacs mode lines for websockets 2 space indents r=jduell 2011-07-07 15:39:24 -04:00
Patrick McManus
5347af7a72 bug 669975 - websockets e10s mLoadGroup member duplicated r=jdm 2011-07-07 15:36:37 -04:00
Boris Zbarsky
bd8923f8be Bug 667907. For HTTP 0.9 on non-default ports, be more conservative. r=jduell 2011-07-07 14:17:13 -04:00
Julian Reschke
f8047a1b9d Bug 651185. Only process RFC 2231 and RFC 5987 syntax when the value comes from a token (as opposed to a quoted-string). r=bzbarsky 2011-07-05 17:33:04 -04:00
Randell Jesup
444453be47 Bug 662215 r=bz 2011-07-05 09:09:09 -04:00
Jason Duell
7930ebccb9 bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:32 -07:00
Patrick McManus
054a2164a5 bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:30 -07:00
Jason Duell
88143d01fa bug 664860. Convert WebSocketChannel to 2 space indents. r=biesi. 2011-07-04 21:18:34 -07:00
Jason Duell
2fd7bcda1f 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
45ea24eb5d 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
c6859b3730 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-04 12:46:07 +02:00
Christian Biesinger
60ccc8af25 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
Honza Bambas
27509e418e bug 658894 - Collect basic telemetry for HTTP requests and page load. r=jduell 2011-07-01 22:22:18 +02:00
Philipp von Weitershausen
c28032f446 Bug 668642 - Make nsIHttpHeaderVisitor a [function] interface. r=bz 2011-06-30 23:55:56 +02:00
Josh Matthews
180c7a5397 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Joe Drew
334e33649c Back out fcf08eff68eb (Bug 658894) for causing Reftest assertions. 2011-06-28 14:42:06 -04:00
Joe Drew
b5189f219a Back out fcf08eff68eb (Bug 662555) for causing reftest assertions. 2011-06-28 14:41:14 -04:00
Honza Bambas
e60c86ffac Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell+tglek 2011-06-28 16:49:45 +02:00
Honza Bambas
0e32a4cab2 Bug 662555 - Race condition when measuring requestEnd, r=jduell 2011-06-28 16:49:45 +02:00
bjarne@runitsoft.com
14b041f05f Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny 2011-06-27 14:21:15 +02:00
Han Chang
15d6892b7b Bug 605979 - Remove unsound ASSERTION: IDN node too large (hit with globalStorage.namedItem); r=mayhemer 2011-06-26 18:28:46 +02:00
Matt Brubeck
6a1c07e10e Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Patrick McManus
ebd9efe793 bug 664305 - websocket max connection limitation r=biesi
--HG--
extra : rebase_source : 7229d30f28b529c0fe7f22277a21c9a0f007d14d
2011-06-25 14:28:27 -04:00
Patrick McManus
c7c89d6a3e Bug 666997 - Firefox Crash @ mozilla::net::nsPreloadedStream::AsyncWait() r=biesi 2011-06-25 10:49:42 -04:00
Kyle Huey
05f4101131 Fix websockets-disabled build with an ifdef. rs=mcmanus (No bug) 2011-06-24 11:00:46 -07:00
Marco Bonardo
d50a414c3e Merge last green changeset in mozilla-inbound to mozilla-central 2011-06-24 11:32:12 +02:00
Jason Duell
f6ae5087c9 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
Jason Duell
78bbcf1909 Bug 665521 - Update Ruben Arakelyan's email address *correctly* in the PSL. r=biesi 2011-06-23 14:11:18 -07:00
Ruben Arakelyan
45a7dd081f Bug 665521 - Update Ruben Arakelyan's email address in the PSL. r=biesi 2011-06-23 14:04:45 -07:00
Michal Novotny
6d1f6742fe Bug 504014 - Enforce RFC 3986 syntax for IPv6 literals 2011-06-23 17:04:23 +02:00
bjarne@runitsoft.com
ec668f29cd Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube r=michal.novotny, bjarne 2011-06-22 10:49:35 +02:00
Patrick McManus
9865d771ba 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
7b9bf403d2 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
690a511dc8 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
8b2887761a 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
3c4eed0994 Bug 665518 - Websocket enforce high bit of 64 bit length r=biesi 2011-06-21 10:49:04 -04:00
Patrick McManus
e86b1a09dc backout 15c3543f4647 so it can be re-merged with valid description 2011-06-21 10:45:24 -04:00
Patrick McManus
49b3d76372 backout 627d6b32976b so it can be re-merged with valid description 2011-06-21 10:45:03 -04:00
Patrick McManus
4d4c65ec06 backout b22f0cccfa7f so it can be re-merged with bug number in description 2011-06-21 10:44:07 -04:00
Patrick McManus
124108c75b backout cf7152d215b2 so it can be re-merged with bug number in description 2011-06-21 10:43:32 -04:00
Patrick McManus
38e1b42535 backout 923beecc0fe5 so it can be re-merged with bug number in description 2011-06-21 10:42:54 -04:00
Patrick McManus
b7f1405429 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
c2e3687493 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
c11db9c041 websockets -08 sec 7.4.1 defines two new close codes r=biesi 2011-06-21 09:47:34 -04:00
Patrick McManus
d36ed63330 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
be8ac00dfa 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
Ed Morley
1264376be3 Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi 2011-06-20 15:49:13 -07:00
Mounir Lamouri
38dbd10996 Merging mozilla-central with mozilla-inbound. 2011-06-17 15:26:17 +02:00
Neil Rashbrook
26adff7f97 Bug 660527 Remove useless uses of PromiseFlatCString r=biesi 2011-06-16 21:25:20 +01:00
Mike Hommey
95fbb011b5 Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Patrick McManus
096daafcf1 bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus
b3c5916d33 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Matt Brubeck
5289790b51 Back out caa97320d506 (bug 658580) temporarily to get m-i in a known good state. a=backout 2011-06-15 09:40:29 -07:00
Matt Brubeck
968d7fd4f5 Back out 58c903b0db40 (bug 658580) temporarily to get m-i in a known good state. 2011-06-15 09:39:42 -07:00
Matt Brubeck
24b42b347c Merge backout of bug 632404, bug 552864, bug 658995 2011-06-15 09:01:28 -07:00
Matt Brubeck
28a99ad4d4 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Patrick McManus
8cd302aa33 bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus
8e1391e0b4 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Philipp von Weitershausen
5519419262 Back out bug 664163 (changeset cfb40abb9655) due to failure in test_traceable_channel_wrap.js 2011-06-15 11:00:04 +02:00
Mike Hommey
899e31b0e1 Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Jason Duell
380d97da7d Bug 664163. Fix implementation of Implement Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2011-06-14 09:12:03 -07:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Josh Matthews
e43e13a47d Bug 663893 - Avoid null dereferences in websocket handler. r=mcmanus 2011-06-13 14:30:07 -04:00
Ehsan Akhgari
47e21692fc Back out Dao's push because of build bustage 2011-06-14 00:17:10 -04:00
Josh Matthews
f016883634 Bug 663893 - Avoid null dereferences in websocket handler. r=mcmanus 2011-06-13 14:30:07 -04:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b 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
d062346c8e Bug 660774 - e10s necko: refactor channelEventQueue to allow async resume/flush. r=jdm 2011-06-11 18:37:09 -07:00
Nick Hurley
092371ea1a Bug 637339 - Improve error handling in HttpChannelChild. r=honzab 2011-06-11 18:37:03 -07:00
bjarne@runitsoft.com
1b7ff0ec91 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
57239eacfd 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
eb202536cf Bug 659944 - Remove leftover MOZ_IPC ifdef in nsHttpChannel.cpp; r=cbiesinger 2011-06-11 09:12:34 +02:00
Ehsan Akhgari
6c1844bd61 Merge mozilla-inbound into mozilla-central 2011-06-09 18:30:11 -04:00
Jason Duell
424230b54e Bug 663229 - e10s HTTP: initialize prnetaddrs correctly in child. r=jdm 2011-06-09 14:02:09 -07:00
Daniel Holbert
f9082b947a Bug 662242: Swap out the old nsIURL IID for the new one, in nsBinaryInputStream::ReadObject. r=bz 2011-06-09 12:10:42 -07:00
Randell Jesup
3447b1dc0e Bug 173561: move magic mask constant for nsIRequest into IDL file. r=biesi 2011-06-09 15:03:41 -04:00
Honza Bambas
cc9f417012 Backout of changeset 701b76c4e716 2011-06-09 16:07:07 +02:00
Honza Bambas
fb3dc85ca9 Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell 2011-06-09 14:04:16 +02:00
Kyle Huey
ff9fd1748b Bug 661529: Add NS_ReadInputStreamToBuffer to complement NS_ReadInputStreamToString. r=biesi
--HG--
extra : rebase_source : 81b8876a34a2ec8c6fd0c2092b697fb8e2472a4a
2011-06-08 11:11:41 -07:00
Kyle Huey
4c6fa934a1 Merge m-c to cedar again to bring over the fix for the android talos perma-orange. 2011-06-07 15:42:30 -07:00
Josh Matthews
0bb92cb891 Bug 661998 - Fix risky use of nsITimer in xpcshell test. r=gavin 2011-06-07 04:45:36 -04:00
Kyle Huey
d2da8f5e6c 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
151af10b12 Bug 662122: Add leak logging annotations to some WebSockets classes. r=mcmanus 2011-06-07 13:12:19 -07:00
Jonathan Protzenko
1b9ca7ae96 Bug 662126 - Audit ConfirmEx callers to ensure that aCheckState is not an uninitialized PRBool r=bz 2011-06-07 20:06:12 +02:00
Randell Jesup
647ee8dc28 Bug 125608: Reduce size of nsStandardURLs by average of 27+ bytes. r=bz 2011-06-07 12:17:40 -04:00
Jeff Walden
659de83b44 Bug 662001 - Use RangedPtr<T> in one location outside js/src/ to verify that mfbt/RangedPtr.h is usable by non-JS code. r=bz 2011-06-06 11:02:35 -07:00
Daniel Holbert
70f5d4d89e Bug 661967: Remove never-read local variable from nsIOService::GetProtocolHandler. r=bz 2011-06-07 10:50:14 -07:00
Jacek Caban
ab9e18c25c Bug 661517 - nsWebSocketHandler.cpp fails to compile on mingw-w64 r=mcmanus DONTBUILD 2011-06-06 13:16:22 +02:00
Patrick McManus
30807283a7 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
dd0f45455f 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
Patrick McManus
69dd10b7f4 bug 597706 - test for double content length in response header r=jduell
--HG--
extra : rebase_source : 66ce23e335720742724250d248c9947dfd4eb33c
2011-06-02 20:48:05 -04:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Patrick McManus
14fd4e9ce5 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
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Chris Pearce
7faba3664c Bug 508128 - add gc() in httpd.js, reduces memory by 1GB in xpcshell.exe during mochitest run. r=jwalden 2009-08-04 16:55:00 -04:00
Mounir Lamouri
53c39f24f1 Merging cedar with mozilla-central. 2011-05-30 12:50:04 +02:00
Henri Sivonen
c22caad492 Bug 656904 - Make the view-source: URL constructor pay attention to the base URL. r=bzbarsky. 2011-05-30 09:07:48 +03:00