Commit Graph

230 Commits

Author SHA1 Message Date
Frederic Plourde<frederic.plourde@polymtl.ca>
5188096973 Adjust ASyncOpen arguments naming in PHttpChannel.ipdl and HttpChannelParent.h in concordance with HttpChannelParent.cpp 2010-03-03 11:59:42 -05:00
Doug Turner
5daaf36bf1 Merge 2010-03-01 15:36:51 -08:00
Chris Jones
bc05dd163b Merge from mozilla-central 2010-02-22 21:31:18 -06:00
Boris Zbarsky
5c81205e6b Bug 547239 followup to address biesi's review comments. 2010-03-03 18:53:18 -05:00
Jason Duell
680f112978 Bug 541486: Prune unneeded interfaces from HttpChannelChild. author=jduell, r=bsmedberg
- We copied the full list of interfaces from nsHttpChannel, but biesi tells me
  the following will not be needed, so removing: nsIRequestObserver,
  nsIStreamListener, nsICacheListener, nsITransportEventSink,
  nsIProtocolProxyCallback, nsIAuthPromptCallback.
2010-01-22 13:01:44 -08:00
Josh Aas
bcb41f783d More Carbon usage cleanup. b=550787 r=bsmedberg 2010-03-10 14:30:11 -05:00
Christian Biesinger
f84c7344f6 Fix build bustage from bug 445168 / changeset 5a153fc2dc6f 2010-02-18 15:57:05 +01:00
Christian Biesinger
f297ee0fbb bug 445168 format IPv6 address literals correctly when using a proxy
r=bz
2010-02-18 15:42:32 +01:00
Boris Zbarsky
d2033f6182 Bug 547239. Don't lose our POST body on 307 redirects and internal proxy-related redirects. r=sicking. r=jduell and biesi pending. 2010-02-23 23:37:47 -05:00
bjarne@runitsoft.com
505a28d5cc Bug 513074 - remove sync writes from current cache, r=biesi,michal.novotny sr=bzbarsky 2010-02-23 10:13:18 -08:00
Honza Bambas
48e46430ec Bug 543726 - [HTML5] dom/tests/mochitest/ajax/offline/test_foreign.html fails, r=bz 2010-04-28 13:40:15 +02:00
Christian Biesinger
3473afeef6 Bug 531801 followup (should fix bug 547537). Don't prevent caching of non-SSL content to disk if the pref for not caching SSL content to disk is set. r=bzbarsky 2010-03-08 19:30:02 -05:00
Jason Duell
5ffecf8e1f Bug 530952: Electrolysis HTTP Channel implementation. author=jduell, r=bsmedberg, sr=bz
- Supports only primitive xpcshell HTTP requests which don't set/get HTTP
  headers, don't do redirects, observers, load groups, or anything else other
  than basic things like looking at the reply body, Content-type, Content-length, etc.
- Tested with network/test/unit_ipc/test_simple_wrap.js (patch @ bug 521922)
- Only used if "NECKO_E10S_HTTP" set in environment.
- Force http.h to get #included before any IPDL files, to centralize #define
  handling of LOG and to make sure FORCE_PR_LOGGING is set if needed (bug
  545995)
2009-09-22 11:55:33 -07:00
Benjamin Smedberg
33745658c4 Merge mozilla-central into electrolysis 2010-02-09 11:39:28 -05:00
Benjamin Smedberg
1e0aa446aa Merge mozilla-central into electrolysis. 2010-01-27 09:56:07 -05:00
Honza Bambas
d07221c060 Bug 542318 - Firefox 3.6 needs constant re-auths when connecting through NTLM proxy with credentials different from currently logged in Windows user, r=bz 2010-02-06 16:06:48 +01:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Chris Jones
4a0c6ae1dc bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Benjamin Smedberg
7a581148bc Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Jonas Sicking
840c879ba2 Bug 529041: Deal with http channels not implementing nsIUploadChannel2. r=biesi 2009-11-18 15:21:13 -08:00
Jim Mathies
1e83668bfe Bug 520607 - Remove use of "ntlm" auth module and replace with use of "sys-ntlm". r=wtc, cbiesinger. sr=bz. 2009-11-19 16:12:43 -06:00
Benjamin Smedberg
17cf638aac Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Honza Bambas
627774b80b Bug 515051 - Stream listener registered in a network request channel eats JS error messages, r=bz+biesi 2009-11-18 17:02:28 +01:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Benjamin Smedberg
eba77abeb6 Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Chris Jones
e5481210f2 Merge mozilla-central to pick up unit test fixes 2009-10-22 20:33:36 -05:00
Ben Turner
c650170292 Don't let people get the order of includes wrong in this horrifying patchwork of chromium and mozilla types 2009-10-21 16:01:16 -07:00
Honza Bambas
7c2cac2692 Bug 475156 - forgotten nit fixes 2009-10-21 19:34:47 +02:00
Honza Bambas
6d9c76510f Bug 475156 - correcting cache behavior when using custom conditional request headers, r=bzbarsky 2009-10-21 12:18:08 +02:00
Benjamin Smedberg
47962706bf Bug 523097 - Turn off MOZ_IPC for platforms where we currently don't build, and fix up ifdefs so that everything builds
--HG--
extra : rebase_source : 9da68ad54e7c378a4c9bbaac7b2166630827ec60
2009-10-19 09:55:03 -04:00
Jim Mathies
acb9c8f8e4 Bug 487872 - nsAuthSSPI patch. r=wtc, sr=bz. 2009-11-04 16:12:24 -06:00
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
Philippe De Ryck
ee1ce03d38 Bug 537670 - Failure to load pages using Basic Auth and lots of content, after setting the LOAD_ANONYMOUS flag, contributed by Honza Bambas <honzab.moz@firemni.cz>, r=bz+honzab 2010-01-26 14:33:03 +01:00
Honza Bambas
fe1a10ceaf Bug 534698 - nsTransportEventSinkProxy implementation eats event notifications, r=bz 2010-01-26 14:33:03 +01:00
Benjamin Smedberg
d44f878b56 Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Chris Jones
03947f0bf3 switch message handler nsresult return types to bool. appears to break test plugin, will be temporary 2009-09-17 18:09:20 -05:00
Doug Turner
d0d10604fc Bug 524339 - Remove the device info from Fennec UA string. r=bz 2009-10-30 14:18:51 -07:00
Myk Melez
1f69a37d51 bug 528292: convey the mForceAllowThirdPartyCookie flag when setting up a replacement channel for a redirected HTTP request; r,sr=bzbarsky 2009-12-13 11:04:03 -08:00
Justin Dolske
d2094178e3 Bug 519729 - Crash [@nsHttpsHandler::GetProtocolFlags(unsigned int*)] with COMPUTERBILD Abzockschutz addon. r=cbiesinger 2009-11-06 18:40:13 -08:00
Christian Biesinger
9820d7ccf4 Bug 531801 Remove code that cached SSL content to disk when Cache-Control: public was sent
r=bz

--HG--
extra : rebase_source : 8d02615ec3777cba578786b2d1aa60cce60b3c03
2010-02-12 18:04:04 +01:00
Ben Bucksch
1e96bf1207 nsIAuthPrompt2: add PREVIOUS_FAILED, bug 521467, r=biesi, sr=bz
Add flag nsIAuthInformation.PREVIOUS_FAILED to notify the
login manager that the previous login attempt failed.
That allows it to show a prompt instead of using the
stored values (silently).

--HG--
extra : rebase_source : 5a725bba1ae34d030fd60ecd5d67c74317de5d4f
2010-02-12 17:55:11 +01:00
Matin Movassate
d6945be650 Fixing bug 491201. Adding ability for XMLHttpRequest.send() to accept a File object. r+sr=jonas@sicking.cc, r=cbiesinger@gmail.com 2009-09-08 16:29:41 -07:00
Michal Novotny
bc40e4a56e Bug 488270 - "New APIs for precise time measurement of net requests" [r=mayhemer sr=shaver] 2009-09-01 15:55:50 -05:00
Johnny Stenback
dae61e5c95 Backed out changeset 7d5e1bcb4729 due to mochitest errors. 2009-08-31 14:57:45 -07:00
Matin Movassate
fb202885f6 Resolving bug 491201. Added ability for XMLHttpRequest.send() to accept an nsIDOMFile. r+sr=jonas@sicking.cc, r=cbiesinger@gmail.com 2009-08-31 14:07:16 -07:00
Jason Duell
7b9643e8c3 Necko init patch, with modeline fixes 2009-08-18 12:05:15 -07:00
Doug Turner
195c21873d Expose device type in user agent. r=vlad 2009-10-24 23:09:46 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
bjarne@runitsoft.com
9c260a2ab5 Bug 510359 - Cached "Vary: Cookie" responses are improperly revalidated/reused r=biesi 2009-08-24 10:32:18 -04:00
L. David Baron
d2fe19f12a Backed out changeset 3a829715fd39 (Bug 482935) on suspicion of causing mochitest-plain leaks. 2009-08-20 12:22:30 -07:00
Bjarne
b52baf2375 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed, r=jduell.mcbugs 2009-08-20 17:45:38 +02:00
Serge Gautherie
29ef41e77d Bug 474296 - Remove UA define of "WinNT3.51" and "WinNT4.0" due to out of support; (Av2) WNTv4 and (all) older; r=cbiesinger 2009-08-20 17:30:25 +02:00
Serge Gautherie
e1d979a0d2 Bug 511395 - Remove MSVC6 support from the tree, in netwerk; (Av1) Update comment only; r=cbiesinger 2009-08-19 17:01:57 +02:00
Bobby Holley
f0f0fc4ad0 Bug 509929 - Reference cycle between nsProgressNotificationProxy and nsHttpChannel on channel redirect. r=biesi 2009-08-13 13:20:41 +02:00
Navin Lal
7d36965d96 Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
timeless@mozdev.org
a00680a5d0 Bug 562539 - deprecated conversion from string constant to char* in nsHttpTransaction::ParseHead, r=jduell 2010-05-01 17:37:00 -07:00
timeless@mozdev.org
3497436378 Bug 551990 - Crash [@ nsHttpResponseHead::NoStore()] in test_updatingManifest.html, r=biesi 2010-03-14 06:55:00 -07:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Jesse Ruderman
5d3b01fe98 Remove stray line break in NS_WARNING 2009-08-03 16:17:35 -07:00
Honza Bambas
66ab2c6182 Bug 475053 - Implement asyncPromptAuth to fix multiple password prompt overlap, r=bzbarsky+dolske 2009-07-20 20:29:41 +02:00
Honza Bambas
0ca2f9d3e2 backing out 0a13ddc99c95, bug 475053 2009-07-20 20:00:49 +02:00
Honza Bambas
8236bd055e Bug 475053 - Implement asyncPromptAuth to fix multiple password prompt overlap, r=bzbarsky+dolske 2009-07-20 17:25:05 +02:00
Honza Bambas
365bb48638 Bug 501422 - HTML5 offline resources doesn't work, r=bzbarsky 2009-07-20 17:25:04 +02:00
Justin Dolske
5e37204846 Bug 503202 - Change Windows CE user agent string. r=vladimir 2009-07-09 15:23:04 -07:00
timeless@mozdev.org
cc096f80f6 Bug 500167 http should use contractids for other services
r=biesi sr=biesi
2009-06-27 18:42:51 -07:00
Mark Smith
bb426c0819 Bug 437174 - Disabling 3rd party cookies breaks sending cookies for
channels with no docshell.  r+sr=bzbarsky.
  Added forceAllowThirdPartyCookie to nsIHttpChannelInternal.
  Added LOAD_FLAGS_FORCE_ALLOW_COOKIES to nsIWebNavigation.
  Added PERSIST_FLAGS_FORCE_ALLOW_COOKIES to nsIWebBrowserPersist.

--HG--
extra : rebase_source : 0ea11e1ed53d75152f57ffed74f44fc749a7a567
2009-06-16 10:30:25 -04:00
Bjarne
f2735cd200 Bug 490095 fix regression from bug 468594: don't override VALIDATE_NEVER when
the URL has a query string and no explicit expiration time.
r+sr=biesi
2009-06-16 18:27:17 +02:00
Marco Pesenti Gritti
3a64c67e10 Bug 495618 - "Reloading form posts fails with javascript nsIPromptService implementation". r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Jason Duell
e88ee35760 Allow top-level, non-POST 3xx redirects from proxy server: bug 491818 2009-05-17 10:22:55 -04:00
Philip Prindeville
bf66838148 Bug 529921 browser part. Implement core support for RFC-2597/2598/3168 Quality-of-Service (DSCP) marking. r=biesi 2010-06-02 22:25:01 -04:00
Jason Duell
944be0e667 Bug 479880. Prevent failed SSL tunnel replies from being interpreted: replace with boilerplate error pages. r=jwalden, sr=bzbarsky 2009-04-23 15:49:32 -04:00
Josh Aas
3142ca9bfc Port networking to 64-bit Mac OS X. b=489280 r=smichaud sr=roc 2009-04-22 09:05:35 -04:00
Josh Aas
c6a41e8074 Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04:00
Dão Gottwald
15d011c35a Backed out changeset 905b72e27bb9 2009-04-05 17:49:12 +02:00
Michal Novotny
9bee618aca Bug 475444 - HTTP standard violation, Content-length header appears to be ignored under some circumstances. r=bz, sr=biesi 2009-04-05 16:50:45 +02:00
Bjarne
696e7d1565 Bug 203271 - max-age should override expires in http headers; r=(cbiesinger + jwalden+bmo) sr=cbiesinger 2009-03-19 00:59:36 +01:00
Bjarne
b751f8e069 Bug 468594 - Fix heuristic query freshness; r=cbiesinger 2009-03-17 15:23:01 +01:00
Serge Gautherie
b3c9076b8a Backed out changeset: be6d39f94146 of
Bug 203271 - max-age should override expires in http headers; r+sr=cbiesinger
which breaks all test suites.
2009-03-13 19:08:52 +01:00
Bjarne
31c00e6eb5 Bug 203271 - max-age should override expires in http headers; r+sr=cbiesinger 2009-03-13 15:51:29 +01:00
Bryan McQuade
95c153363f Bug 481612 - Should send activity distributor notifications also for STATUS_RECEIVING_FROM
r+sr=biesi
2009-03-05 19:47:01 +01:00
Honza Bambas
60579fc675 Bug 474038 - Don't reuse keep-alive connections for both anonymous and non-anonymous requests; r=(cbiesinger + jonas) sr=jonas 2009-02-26 18:43:45 +01:00
Dave Camp
fbbee40aa1 Bug 471227 - revert debug spew for now. 2009-02-25 01:03:13 -08:00
Dave Camp
1a8ea997f1 Bug 471227 - More debug spew. 2009-02-24 23:12:13 -08:00
Jonas Sicking
fea9eede61 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Jonas Sicking
b2248a4405 Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures. 2009-02-24 15:38:40 -08:00
Jonas Sicking
ca2acd2b73 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Michal Novotny
5e7c0ee5dd Bug 474434 - Active ftp sessions are not closed when clearing recent history; r=bzbarsky sr=cbiesinger 2009-02-23 19:28:17 +01:00
Arpad Borsos
70846f9fab Bug 474369 - get rid of nsVoidArray; netwerk part, v2; r=cbiesinger 2009-02-23 02:05:28 +01:00
Jason Duell
8fbc5ad91e Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
L. David Baron
671f598185 Backed out changeset 4bd7dd7645c2 (Bug 474536) 2009-02-19 12:37:53 -08:00
Jason Duell
8c27d27270 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
Honza Bambas
69fd52a1e3 Bug 474696 - Process fallbacks on out-of-domain redirects, r=dcamp 2009-02-18 14:31:32 +01:00
bjarne@runitsoft.com
244d9431fc Bug 466080 - Make more things honor the LOAD_ANONYMOUS flag r=sicking,MisterSSL, sr=sicking 2009-02-17 14:06:52 -08:00
Michal Novotny
bfa4969899 Bug 449198 - http-on-examine-response isn't fired when a response comes from the cache; r=bzbarsky sr=cbiesinger 2009-02-12 05:16:00 +01:00
Chris Pearce
dab0d6b3f3 Bug 469446. Necko should be able to cache byte-range requests when the start offset is zero. Then we can make our initial video load a byte-range request to detect whether the server supports byte-range requests, and the video data can still be cached. r=doublec,sr=roc,r=bzbarsky
--HG--
extra : rebase_source : acec408274be2b770b5f1936b4f915ef1bafa60b
2009-01-16 21:22:08 +13:00
Steve Snyder
b1da8fa53e Bug 509730 - Use strchr(), not strstr(), for single-char searches, r=bsmedberg 2009-09-22 20:33:24 -07:00
Dave Camp
1f1b980ffe Bug 441751 - "Directives not to cache pages ignored." [r+sr=bzbarsky]
* * *
Bug 441751 - "Directives not to cache pages ignored." (fix for offline cache updating) [r+sr=bzbarsky]
2008-12-11 21:57:47 -08:00
Dave Camp
30b213c23a Backed out changeset e33f490c8764 2008-12-08 20:26:56 -08:00