17 Commits

Author SHA1 Message Date
andreas.otte%primus-online.de
2bff3cee38 fix bug 84242 [FTP URL parsing broken] and bug 95277 [ftp: URL w/o path
should redirect to home dir] This will change the way we parse ftp
urls, a ftp url like ftp://user@host/path will go to path under
the users home directory not the root directory. With most anonymous
ftp servers there is no change since root is the home, but if you want
to access /path from a users directory you have to use
ftp://user@host//path instead. This will bring us closer to the ftp
urls outlined in rfc 1738. r=bbaetzcs.@mcgill.ca,
sr=darin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@106507 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-28 08:58:18 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
darin%netscape.com
76c7355ac1 checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@102859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:21:05 +00:00
dougt%netscape.com
f702a21dc6 fixes 95671, 96129. Caching control connections fixed, removing check against browser.enabled.cache, fixing double list response handling error. r= gordon, darin, sr= darin
git-svn-id: svn://10.0.0.236/trunk@101532 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 19:40:55 +00:00
dougt%netscape.com
97441e8391 rechecking in fix for 93353. r/sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@101002 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 05:07:49 +00:00
darin%netscape.com
88b8a4a18f backing out leaky fix for bug 93353.
git-svn-id: svn://10.0.0.236/trunk@100878 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-12 01:44:35 +00:00
darin%netscape.com
5f1f8cab15 fixes bug 93353 "Existing sockets do not forward notification to nested events"
patch=dougt; r=danm,bbaetz; sr=darin


git-svn-id: svn://10.0.0.236/trunk@100872 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-11 20:09:58 +00:00
dougt%netscape.com
9b4eb8f8bb Fixes 77032, 65270, 71556, 76274, 61290, 47689. Also makes Suspend/Resume work. r=neeti@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@93295 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 20:56:44 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
dougt%netscape.com
b326dd2298 Fixes 70580, 73824. Also fixes a security hole related to port stealing as describe by rfc2577. r=gagan@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90701 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:39:37 +00:00
dougt%netscape.com
c7f1f7a5c1 Fixes many ftp problems. Details in 72280. r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90007 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:04:32 +00:00
darin%netscape.com
a8a12c5c51 Fixes bug 66516. Topperf regression from 1/23. r=dougt, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88945 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 07:53:40 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
darin%netscape.com
5bdcf4f717 Fixes bug 66493. nsSocketTransport changes broke in-process PSM.
r=bryner,gagan,brendan,dougt sr=mscott


git-svn-id: svn://10.0.0.236/trunk@85602 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:28:00 +00:00
dougt%netscape.com
bf9dd9e284 Landing of FTP branch. Highlights include (a) ftp is now async, (b) removal of threadpool, (c) better caching of control socket. See posting on netlib newsgroup for details. reviewers include valeski@netscape.com, gordon@netscape.com. Superreveiwer is rpotts@netscape.com. Bugs fixed by this bug include 61678.
git-svn-id: svn://10.0.0.236/trunk@84751 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:45:04 +00:00