31 Commits

Author SHA1 Message Date
cbiesinger%gmail.com
94c5e53410 followup to bug 418535, add comments about which threads
nsISocketTransportService functions can be called on
patch by Florian Quèze <florian@queze.net> r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@248131 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 21:00:53 +00:00
florian%queze.net
5d4d0eb9dc Bug 418535 - Make socket attachment to nsSocketTransportService usable from XPCOM. r+sr=biesi, a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@246561 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 20:39:51 +00:00
darin%meer.net
172f98bf2d fixes bug 283049 "nsISocketTransportService cleanup" r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@172250 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 23:18:34 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
darin%meer.net
bc1bb52b19 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
darin%netscape.com
2b1d90b6ed modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
darin%netscape.com
d23b0dfd5f fixes bug 56629 "Proxy: Client->Proxy connection errors should show proxy,
not target hostname" r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@134769 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 04:18:08 +00:00
tao%netscape.com
bbe078f6ae 93002: [distribution]Conn: Use dialup networking (.DUN) when launching
mozilla. r=dougt,sr=rpotts. Help Windows NT, 2000, and XP dialup a RAS
connection when a network address is unreachable. (c/osmeredith)
the controlling pref is "network.autodial-helper.enabled".


git-svn-id: svn://10.0.0.236/trunk@124314 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 23:03:52 +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
614db7419e fixes bug 97997 "easyweb.tdcanadatrust.com does not display" r=bbaetz, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@103419 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 03:59:02 +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
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
warren%netscape.com
997161d193 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
jab%atdot.org
027f444ba4 a=brendan@mozilla.org
Bug #16103
Support for SOCKS proxies in HTTP, HTTPS, and FTP protocols.
Also includes the prefs configuration and UI bits.


git-svn-id: svn://10.0.0.236/trunk@73625 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 10:25:25 +00:00
waterson%netscape.com
bb20e07c08 Bugs 21650, 42586. Remove nsISocketTransportService::LateInit(), move code that gets string bundles to lazily grab the bundle when it's needed. This avoids re-entrancy into the service manager which causes a leak. r=dbaron,warren
git-svn-id: svn://10.0.0.236/trunk@73013 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:02:04 +00:00
ruslan%netscape.com
00dde597ed Fixing 42107, a=gagan. Documenting some APIs in the process as well.
git-svn-id: svn://10.0.0.236/trunk@72089 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 03:00:53 +00:00
dougt%netscape.com
afe2f43f12 Fix for 31164, possibly 35658, and prep work for 31174.
1) Passing the proxy hostname and port to the underlying socket
   and changing all users that appeared in lxr.

2) (psm-glue) registering with the cache manager to allow local loopback so that
   psm will work with a proxy.

3) (psm-glue) Storing proxy information in psmSocketInfo.

most reviewed by gagan@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@70532 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:56:12 +00:00
ruslan%netscape.com
87b7525c92 Fix 35024 - add new API to the socketTransportService to see how many
connections are alive/in-progress/etc.


git-svn-id: svn://10.0.0.236/trunk@65888 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:30:21 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
gordon%netscape.com
c8c8c84081 Landing DNS_CANCEL_BRANCH. Moving Init() method to interface.
git-svn-id: svn://10.0.0.236/trunk@64251 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:16:20 +00:00
ruslan%netscape.com
609b6973af Fix 10738, partial fix for 21020. Keep-alive, http/1.1, transfer-encoding: chunked
can now be turned on (network.http.version=1.1); network.http.keep-alive can also
be used, however not recommended (1.1 pref will automatically enable keepa-alive).
r=warren,gagan


git-svn-id: svn://10.0.0.236/trunk@62838 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:41:46 +00:00
sspitzer%netscape.com
3ee3d2a564 fix for #26773, alert when there is a network error in mailnews. r=mscott, a=phil
git-svn-id: svn://10.0.0.236/trunk@61714 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 01:04:50 +00:00
warren%netscape.com
c7d8a4a439 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
warren%netscape.com
d8627fe912 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
gagan%netscape.com
6bf9a22c91 Added printHost parameter for use in status messages in cases where printHost is different than the connecting host (as in the case of proxies) Fixes bug 11708. r=warren.
git-svn-id: svn://10.0.0.236/trunk@52709 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 08:11:39 +00:00
gagan%netscape.com
b3785299ff Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren
git-svn-id: svn://10.0.0.236/trunk@50588 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 10:24:12 +00:00
warren%netscape.com
6a952509ef Lowercased idl method names for scriptability. Cleaned up nsIURL interface.
git-svn-id: svn://10.0.0.236/trunk@50406 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:39:37 +00:00
warren%netscape.com
86827a5f86 idl versions
git-svn-id: svn://10.0.0.236/trunk@47565 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 09:51:46 +00:00