Commit Graph

1195 Commits

Author SHA1 Message Date
cbiesinger%web.de
a8f4be422b 242393 r=darin sr=bz only write content to the pipe if the content started; this
ensures that OnDataAvailable is only called if we have a response head. also,
add some assertions.
2004-09-30 14:20:27 +00:00
darin%meer.net
2966e5b957 landing followup patch for bug 251969 "crash [@ nsHttpChannel::OnStopRequest ]" r+sr=dveditz 2004-09-29 16:51:46 +00:00
darin%meer.net
1069b449de fixes bug 251969 "crash [@ nsHttpChannel::OnStopRequest]" r=timeless sr=bzbarsky 2004-09-23 18:49:17 +00:00
timeless%mozdev.org
bca91b2417 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by timwatt@gmail.com r=darin sr=darin
2004-09-21 16:00:50 +00:00
cbiesinger%web.de
79d31490c5 Bug 259570 Remove caps dependency from network/build. Also, make
nsHttpDigestAuth's destructor nonvirtual.
r+sr=darin
2004-09-15 21:09:46 +00:00
bsmedberg%covad.net
787217fd3c Bug 259273 - missing locale in useragent string (and in navigator.locale) r+sr=darin 2004-09-15 19:49:30 +00:00
vladimir%pobox.com
8b6be2cf93 b=205947, proxy: mailnews does not display proxy auth dialog, r=darin, sr=shaver 2004-09-02 05:13:25 +00:00
cbiesinger%web.de
eaca3dbd1b Bug 227057 remove nsIResumableEntityID in favor of using strings for the entity
id.
r=darin sr=bzbarsky
2004-09-01 18:04:17 +00:00
timeless%mozdev.org
9899ad128b Bug 254394 mozilla nsHttpHandler PR_Assert WellOrdered
patch by jw6057@bacon.qcc.mass.edu r=darin sr=darin
2004-08-26 13:45:28 +00:00
darin%meer.net
3aa03e4e0f fixes bug 231529 "Optionally enable unprompted NTLM authentication" r=cneberg sr=bryner 2004-08-24 21:18:15 +00:00
darin%meer.net
5e133a1ea4 fixes bug 230351 "NTLM base64 decoder should tolerate extra '=' padding" r=cneberg 2004-08-24 21:10:54 +00:00
caillon%redhat.com
2fdef090da These are C++ files; not IDL. rs=bzbarsky 2004-08-11 07:00:43 +00:00
bzbarsky%mit.edu
26ac90ee08 Store all error pages in cache so view-source and history do the right thing.
Enforce the "non-caching" of error pages in MustValidate().  Bug 212650 r+sr=darin
2004-08-09 15:57:34 +00:00
darin%meer.net
de308e6df5 fixes bug 252118 "necko ignores settings for max-persistent-connections-per-server" r=biesi sr=bzbarsky 2004-08-03 23:41:36 +00:00
bzbarsky%mit.edu
82e85f919c Implement IRequest::INIHIBIT_CACHING. Patch by William Bardwell
<wbardwel@curl.com>, r=darin, sr=bzbarsky.
2004-07-30 05:07:04 +00:00
cbiesinger%web.de
7f707d30dd bug 85310 remove *WithConversion from necko r+sr=darin 2004-07-21 12:25:20 +00:00
darin%meer.net
c475505cc7 fixes bug 85484 "Proxy: auth prompt doesn't show realm" r=biesi sr=bzbarsky 2004-07-15 13:11:55 +00:00
darin%meer.net
197c6f3576 fixes bug 224237 "PAC: make failover behave according to specification"
original patch by jerry.tan@sun.com with revisions by darin, r=biesi
2004-07-01 23:31:47 +00:00
darin%meer.net
65752c93cb fixing up comments that reference the non-existent nsIHttpNotify 2004-06-30 18:24:08 +00:00
cbiesinger%web.de
6263ab98d2 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin
2004-06-29 16:45:07 +00:00
cbiesinger%web.de
ea0cd0c56e get rid of AssignWithConversion in necko
bug 85310 r+sr=darin
2004-06-27 13:50:47 +00:00
cbiesinger%web.de
aeaeb4287b bug 247715 make use of new nsUint64 type, which fixes an incorrect assertion by making the comparison unsigned instead of signed
r+sr=darin
2004-06-27 13:11:54 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de
8ef49c61c2 bug 243974 can't download files larger than 4 GB
Also changes nsIResumableChannel to have a resumeAt function, that does not open the channel immediately, and changes its size parameter to a 64 bit integer
r=darin sr=bryner
2004-06-16 19:51:21 +00:00
darin%meer.net
5069f4f76c fixes bug 246264 "nsHttpChannel may leak mResponseHead" r=pedemont sr=bryner 2004-06-16 15:05:42 +00:00
darin%meer.net
96dfe84514 fixes bug 246337 "nsIProxy is unused and should be removed; nsISOCKS4SocketInfo is also unused and can be likewise removed" r=biesi 2004-06-11 15:31:21 +00:00
darin%meer.net
120fd5c31a fixes bug 246329 "SchemeIs failure leaks nsHttpChannel" r=biesi 2004-06-11 15:09:36 +00:00
darin%meer.net
bd982d0036 fixes bug 246106 "Defensive (anti-phishing) auth prompts are displayed when they should not be displayed" r+sr=dveditz 2004-06-09 22:09:05 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
cbiesinger%web.de
80591841bd bug 243010 nsHttpHandler::GetMIMEService unused
r+sr=darin
2004-05-08 18:02:10 +00:00
darin%meer.net
65e856be81 changing default value for phishy userpass length from 16 to 1 per discussion in bug 232567, and so that the value used on the trunk matches the value used on the 1.7 branch. 2004-05-08 00:40:03 +00:00
darin%meer.net
1e8d941f96 landing patch for bug 241124 "move GSSAPI code behind nsIAuthModule so it can be used by mail protocols" r=cneberg sr=bryner 2004-04-28 02:12:52 +00:00
darin%meer.net
80ff5a1004 landing mEventQ portion of patch from bug 237958 "cleanup the way nsHttpChannel gets the current event queue" r=biesi sr=bzbarsky 2004-04-20 00:56:29 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
darin%meer.net
db90a4d605 updating some comments related to the defensive auth prompting patch, bug 232567 2004-04-16 18:59:01 +00:00
timeless%mozdev.org
47a7084980 Bug 205140 Prefs: remove "network.http.*.timeout"
r=darin sr=darin
2004-04-16 06:45:05 +00:00
darin%meer.net
54acdf7af3 patch for bug 232567 "Warn when HTTP URL auth information isn't necessary or when it's provided" r=dougt sr=dveditz 2004-04-16 04:48:02 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
91a47b5ddb Bug 219556 necko support for resumable downloads via http
r=darin sr=bzbarsky
2004-04-14 17:37:39 +00:00
darin%meer.net
8da4a5e516 fixes bug 240053 "lock icon not updated properly on redirect of HTTPS request" r=biesi sr=bz a=dbaron 2004-04-10 20:03:03 +00:00
darin%meer.net
411a42d866 fixing win32 bustage 2004-04-08 01:50:32 +00:00
darin%meer.net
b64cf9c3d3 backing out unintended change 2004-04-08 00:24:11 +00:00
darin%meer.net
02d0ee1b98 fixes bug 226278 "HTTP authentication cache should include URI scheme in its key" r=cneberg@sandia.gov sr=dveditz a=chofmann 2004-04-07 23:34:35 +00:00
darin%meer.net
f31b6d9a8a backing out patch for bug 232385 to fix regression, a=dbaron 2004-03-14 19:20:24 +00:00
darin%meer.net
e0c5d1103c fixes bug 232385 "nsIRequest::INIHIBIT_CACHING not implemented" r=dougt sr=bzbarsky 2004-03-09 02:17:25 +00:00
darin%meer.net
c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
darin%meer.net
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
darin%meer.net
7b7d65afca landing patch for bug 114451 "digest auth nonce count not updated properly" patch by avva@livejournal.com r+sr=darin 2004-01-29 00:10:32 +00:00
bsmedberg%covad.net
7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
peter%propagandism.org
feda8614f8 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 16:48:40 +00:00
darin%meer.net
d7ce33ed84 fix two "might be used uninitialized" warnings from NTLM patch, bug=224653. 2003-11-19 05:00:43 +00:00
darin%meer.net
660b16478a fixes bug 224749 "REUSABLE_CREDENTIALS and REUSABLE_CHALLENGE flags ignored in nsHttpChannel::setAuthorization" r=cneberg sr=bzbarsky 2003-11-18 02:39:24 +00:00
darin%meer.net
f142a6ea88 fixes bug 224653 "provide cross-platform NTLM auth implementation" r=kaie sr=bryner 2003-11-18 02:20:34 +00:00
darin%meer.net
2861ddd730 fixes bug 210208 "add http-on-examine-merged-response notification" patch=rggammon@alumni.uwaterloo.ca r+sr=darin 2003-11-14 20:51:55 +00:00
bzbarsky%mit.edu
fa6142d08b Treat any 1xx response like a 100 response. Bug 224537, r+sr=darin 2003-11-04 02:20:54 +00:00
cbiesinger%web.de
c4813304a0 bug 223143 nsHttpChannel::Suspend and Resume always return NS_OK
r=darin sr=bz
2003-10-30 21:27:38 +00:00
darin%meer.net
c22e4d211c fixes bug 180049 "Authentication Plugins" patch=cneberg@sandia.gov r=darin sr=bzbarsky 2003-10-30 03:27:53 +00:00
neil%parkwaycc.co.uk
368912e7d1 supplementary patch to the fix to bug 209532 to fix the case when the prefs are empty or unset r/sr=darin 2003-10-10 18:05:18 +00:00
neil%parkwaycc.co.uk
eddd391aca Bug 209532 Separate prefs to override Mozilla/5.0 at beginning of UA string p=mpeseng@tin.it r/sr=darin 2003-10-10 08:20:46 +00:00
darin%meer.net
2a73d39883 provides foundation for solving bug 217787 "necko support for HTTP chunked requests" r=dougt sr=bzbarsky 2003-10-08 06:10:47 +00:00
darin%meer.net
2b14b6a01c fixes bug 192284 "support nsIChannel::open for all protocols" r=dougt sr=bzbarsky 2003-10-08 04:27:13 +00:00
darin%meer.net
886b94cad7 switch to dbaron's suggested fix for solaris bustage, b=210125. 2003-10-07 01:29:38 +00:00
darin%meer.net
80bc455cd4 second attempt to fix solaris bustage, thx to keeda@hotpop.com for the patch. 2003-10-06 16:35:06 +00:00
darin%meer.net
2997dc4afb attempt to fix solaris (nebiros) bustage. 2003-10-06 08:13:51 +00:00
darin%meer.net
77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
cbiesinger%web.de
f0f267ab03 220672. r=darin sr=bzbarsky
Convert nsIEncodedChannel::contentEncodings to nsIUTF8StringEnumerator.

Previously, it used nsISimpleEnumerator, and returned an nsISupportsCString with it.
2003-10-05 17:06:37 +00:00
darin%meer.net
4446ed912b fixes bug 217765 "HTTP: does not always handle username+password from URL correctly" patch=darin,crabbkw r=darin sr=bryner 2003-09-25 17:48:28 +00:00
dbaron%dbaron.org
6af4466826 Make the rv:N.N part of the UA string come from the MOZILLA_VERSION macro (from config/milestone.txt) instead of from a pref. b=220220 r=darin sr=bryner 2003-09-25 05:39:11 +00:00
darin%meer.net
b290b12671 fixes bug 220122 "Proxy-Authentication credentials can be exposed to origin server" r=bz sr=jst 2003-09-25 04:33:56 +00:00
timeless%mozdev.org
eb2d62de83 Bug 217949 NTLM Authentication does not work on NT4
patch by darin r=timeless sr=mscott
2003-09-25 02:53:05 +00:00
cls%seawood.org
19d1d413c2 Fix misc build issues for mingw gcc 3.3.1:
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron
2003-09-18 17:22:33 +00:00
timeless%mozdev.org
c18624ca1b fixing typo in LOG statement
rs=darin
2003-09-17 15:11:47 +00:00
darin%meer.net
e1b1312006 fixes bug 205921 "Preference browser.cache.disk_cache_ssl does nothing"
patch=pk_joshi@yahoo.com r+sr=darin
2003-09-15 22:12:52 +00:00
darin%meer.net
ef96caa6fb removing files that are no longer compiled. 2003-09-15 21:56:55 +00:00
darin%meer.net
a3e9dca1b6 fixes bug 217766 "use nsIObserverService in place of nsINetModuleMgr (eliminate nsIHttpNotify)" r=dwitte sr=bzbarsky 2003-09-15 21:44:43 +00:00
cbiesinger%web.de
c7fd59e0a0 (netwerk part of Bug 124029)
Implement nsBufferedOutputStream::WriteSegments and WriteFrom, and improve comments in other parts of necko
r=darin sr=bz
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	base/public/nsISocketTransport.idl
CVS: 	base/public/nsITransport.idl base/src/nsBufferedStreams.cpp
CVS: 	base/src/nsFileStreams.cpp protocol/http/src/nsHttpChannel.cpp
CVS: ----------------------------------------------------------------------
2003-09-14 11:55:05 +00:00
darin%meer.net
64858efdb8 fixes bug 212336 "NTLM sometimes causes crashes under Win9x" r=dougt sr=bryner 2003-09-11 18:04:52 +00:00
timeless%mozdev.org
832c18aaa9 Bug 217007 nsCAutoString charsetBuf is unused
r=darin sr=darin
2003-09-11 01:42:43 +00:00
bryner%brianryner.com
63fa99c65e Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
darin%meer.net
e96a6fd68b fixes bug 215270 "Crash (in cookies?) [nsHttpChannel::GetCallback]" r=mvl sr=bryner a=asa 2003-08-14 18:10:10 +00:00
joshua.xia%sun.com
287b4d1132 for bugzilla #215487 sr=darin r=louie.zhao 2003-08-12 04:27:47 +00:00
darin%meer.net
0e1fa2dc76 initial patch for bug 210561 "eliminate nsCookieHTTPNotify; have HTTP talk directly to nsICookieService" patch=dwitte r=mvl sr=darin 2003-08-05 01:44:27 +00:00
darin%meer.net
bc5e68ec69 fixes bug 210229 "Helper app Window for text/html document (two comma-delimited charsets in http content-type header)" r=biesi sr=bz 2003-07-31 17:11:21 +00:00
darin%meer.net
33e6f34628 fixes bug 213282 "mozilla not sending basic authorization header" r=dwitte sr=bzbarsky 2003-07-29 06:36:45 +00:00
timeless%mozdev.org
a0be0cc621 Bug 214020 Null security callbacks [@ nsHttpConnection::GetInterface]
r=bbaetz sr=bz
2003-07-27 07:05:31 +00:00
darin%netscape.com
400d2e3f35 fixes bug 212336 "NTLM authenticator cannot be loaded under Win9x (security.dll not found)" r=dougt sr=alecf 2003-07-21 16:29:05 +00:00
jaggernaut%netscape.com
83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com
2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu
7b5865099a Update the string stream interface a bit and simplify the implementation a
lot. Bug 212109, r=dougt, sr=darin
2003-07-11 23:10:27 +00:00
timeless%mozdev.org
eccf4c37b4 Bug 212440 nsHTTP:2 shouldn't include traffic
r=darin sr=darin
2003-07-11 22:43:28 +00:00
bzbarsky%mit.edu
087dc52053 Make sure to look at the loadgroup's callbacks if our channel has none. Bug
208087, r=darin, sr=dbaron, a="dbaron says 'slip it in'"
2003-07-09 07:02:28 +00:00
darin%netscape.com
69682b1372 fixes bug 209121 "Digest authentication incorrectly includes fragment identifier in URI when computing A2" r=dougt sr=bzbarsky 2003-07-08 22:49:26 +00:00
bzbarsky%mit.edu
e08fa08e31 Expose request and response versions of HTTP channels. Bug 201625, r=darin, sr=bzbarsky 2003-07-08 21:35:54 +00:00
darin%netscape.com
57810801b3 fixes bug 143575 "URL: http ignores username and password (http://user:passwd/domain) for auth cache" r=dougt sr=alecf 2003-06-30 19:56:05 +00:00
darin%netscape.com
68839f2ee3 fixes smoketest blocker, bug 210579 "hang trying to access page with invalid headers" r=dougt sr=bzbarsky 2003-06-25 17:24:48 +00:00
bzbarsky%mit.edu
f75f9017d9 Make setting contentType or contentCharset act as hints if done before channel
open; use this in the CSSLoader to hint that we want text/css data.  Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
darin%netscape.com
7155f9d29a fixes bug 208845 "multiple content-type headers combined breaks mozilla" r=dougt sr=alecf 2003-06-18 23:16:17 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
dougt%meer.net
6601094085 Treat any 0.9 style response of a put as a failure. b=193921, r=brade, sr=alecf, a=rjesup 2003-06-03 21:21:53 +00:00