Commit Graph

20 Commits

Author SHA1 Message Date
valeski%netscape.com
88d5bf1ae9 network/module/Makefile -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/makefile.win -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/nsIHttpUrl.h -
1. 310133 - Extended the nsIHttpUrl interface to include the AddMimeHeader() method which adds an http header to the url.

network/module/nsHttpUrl.cpp -
310133 - 1. Added support for the AddMimeHeader() method so http urls can have headers added outside of the actual data retrieval in netlib. This method calls NET_ParseMimeHeader() directly.
2. Added a public member, a pointer to the netlib URL_Struct that was created for this nsHttpUrlImpl. This pointer is the link between netlib and the outside world; the adhesive agent between url structs and nsURLImpls.

network/module/nsNetStream.h -
1. 310133 - Added a public memeber variable to nsConnectionInfo. It's a bool that tells us whether or not a redirect has occurred.

network/module/nsNetStream.cpp -
1. 310133 - Added initialization (FALSE) of new redirect member.

network/module/nsNetStubs.cpp -
1. 310133 - Implemented FE_SetRefreshURLTimer(). This function is called from NET_GetURL() when we recognize that we have a url to refresh.

network/module/nsStubContext.cpp -
1. 310133 - Added check to see if we're redirecting in stub_complete() which gets called when a stream completes. If we are, we don't want to release/destroy the pConsumer, this will happen in nsNetService's bam_exit_routine().

network/module/nsNetService.cpp -
1. 310133 - added nsConnectionInfo->redirect check in bam_exit_routine() so we give the consumer a successful binding event if the consumer is still around. This is iffy.
1998-08-13 20:10:49 +00:00
rpotts%netscape.com
ca2c7d9353 Fixed OnDataAvailable(...) to abort the stream if it returns a failure code... 1998-08-13 08:19:49 +00:00
michaelp%netscape.com
ec31b76e60 fixed build. 1998-08-13 00:07:09 +00:00
vidur%netscape.com
5639f27847 Added methods to nsINetService to get and set cookie string for a URL 1998-07-25 00:32:32 +00:00
rpotts%netscape.com
66ec1412c1 Get rid of some unix warnings... 1998-07-24 20:53:38 +00:00
rpotts%netscape.com
17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
michaelp%netscape.com
aa5160c9ae modified for new streaming APIs. 1998-07-23 20:43:08 +00:00
scullin%netscape.com
5681d60943 Fixed build bustage. I can't believe people are still adding context
functions. They should be shot.
1998-07-23 18:31:05 +00:00
rpotts%netscape.com
eaaa7e51a1 Allow OnDataAvailable(...) to abort a binding operation by returning an error code... 1998-07-22 11:21:27 +00:00
scullin%netscape.com
a2f1447e8c Fix context leakage. 1998-07-22 00:16:00 +00:00
scullin%netscape.com
66cfad92b1 Hook up status remarks from netlib, add interface for prompts and alerts. 1998-07-21 20:27:59 +00:00
rpotts%netscape.com
646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
jevering
8bc7ad7f2a Related links stuff.. Guha's related links code stolen from 4.5 and
spanked seriously.. then jammed into netlib.  Nice huh?
1998-07-15 18:44:26 +00:00
scullin
6c533dbbe8 Re-enable normal netlib stream handling. Caching and chunking should
work now.
1998-07-13 23:43:13 +00:00
rpotts
42f2249387 Cause the netlib load to fail if OnStartBinding(...) returns an error. 1998-07-03 06:15:06 +00:00
rpotts
53ca67cf12 Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n) 1998-06-04 05:09:32 +00:00
rpotts
b66a3bd9e7 Turned off the load_background flag when loading URLs... This allows netlib to produce more status information which gets pushed out of nsIStreamListener::OnProgress(...) 1998-06-02 20:17:17 +00:00
kipp
e8603e4561 Quiet please 1998-06-01 20:53:01 +00:00
rpotts
80c2a4f3cf Added support for XP_FindCOntextOfType(....) This is needed to turn off the poll_netlib_all_the_time flag after a POST has occurred 1998-05-27 23:04:11 +00:00
scullin
213aa607f0 Landed raptor modular netlib stuff 1998-05-22 23:38:40 +00:00