Граф коммитов

226 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com d181e6d970 bug #10790. The HTTPChannel is now given to the HTTPResponseListener during construction. Before, it was getting it via a dirty cast in the OnStartRequest notification. Unfortunately, OnStartRequest is only called if the connection is successful. This caused a crash in OnStopRequest if the HTTPChannel was not available :-( 1999-08-06 07:57:44 +00:00
valeski%netscape.com d7b68f26ff fixing mac build bustage. brade verified the changes in her mac build. I switched from com ptrs to regular pointers as the com pointer abuse wasn't appreciated on the mac 1999-08-05 16:17:22 +00:00
rhp%netscape.com 9cb016d189 added files: mozilla/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp, mozilla/netwerk/protocol/http/src/nsHTTPAtoms.cpp 1999-08-05 13:23:45 +00:00
rhp%netscape.com 0b6b03c19d added files: mozilla/netwerk/protocol/http/public/nsIHTTPHeader.idl 1999-08-05 13:16:39 +00:00
rpotts%netscape.com 95c48cd505 Fix for build bustage on Linux... 1999-08-05 09:07:29 +00:00
rpotts%netscape.com 29909c5e4f bug #10739. Reworking header APIs... I've added 2 new CPP files - nsHTTPAtoms.cpp and nsHTTPHeaderArray.cpp. 1999-08-05 08:27:49 +00:00
rpotts%netscape.com 13343ac97c bug #10739. Reworking header APIs... I've added a new IDL file - nsIHTTPHeader.idl and remove 3 obsolete header files... 1999-08-05 08:26:57 +00:00
gagan%netscape.com 918586775c Added a new MANIFEST file for nsHTTP stuff. 1999-08-04 16:12:30 +00:00
gagan%netscape.com 8d82379027 POSTing works now. 1999-08-04 15:07:26 +00:00
dougt%netscape.com 09729829be removing hard coded "http" string and using GetScheme() instead.
cleaning up a memory leak
1999-08-03 02:15:30 +00:00
warren%netscape.com 72c37924c2 Removed hack to export to netwerk/dist (used before landing necko). 1999-08-03 00:38:25 +00:00
valeski%netscape.com d2d7def6f8 pulled file extension search code and started using new mime mapping method which does it for us 1999-08-01 16:44:29 +00:00
warren%netscape.com 7dadc19069 Took out more f*** nsCOMPtrs 1999-07-31 07:51:35 +00:00
warren%netscape.com 10e252654f Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group. 1999-07-31 06:53:12 +00:00
rpotts%netscape.com 97d3178840 bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect. 1999-07-30 07:13:05 +00:00
rpotts%netscape.com ace86dbbb6 bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect. 1999-07-30 06:39:24 +00:00
mscott%netscape.com 00a5ff0a2c fix build by including config.mak 1999-07-29 03:10:23 +00:00
rpotts%netscape.com 13918aac68 Set the max number of open transports to 8. 1999-07-28 09:26:55 +00:00
rpotts%netscape.com f1cee2dcd9 Obsolete file... 1999-07-28 09:25:51 +00:00
rpotts%netscape.com 042ea64894 Support for a Max number of open transports. 1999-07-28 09:25:31 +00:00
warren%netscape.com 5c61055a2b Fixed mismatched delete problem (purify). 1999-07-28 04:05:10 +00:00
warren%netscape.com 55e97dfa69 Added assertion for bug I was hitting (spinning). 1999-07-27 08:47:43 +00:00
warren%netscape.com 8539331182 Added missing error check. 1999-07-27 08:47:13 +00:00
valeski%netscape.com be23c919f4 necko - we now set the user agent by default 1999-07-25 13:54:47 +00:00
gordon%netscape.com dde8bcdab1 Added nsHTTPEncodeStream.cpp. 1999-07-23 01:03:15 +00:00
gordon%netscape.com 4068659917 Added nsIHTTPProtocolHandler.idl. 1999-07-23 00:56:23 +00:00
gagan%netscape.com 4a65c95965 Changes for the standard URL parsing. Added SetRelativePath. Cleaned up the deletions (all thru nsCRT now) Added functionality for Query and Ref portions of the Path. Added DirFile function to nsIURL to allow just Directory and the Filename. Misc. cleanups as well. 1999-07-22 21:14:51 +00:00
tbogard%aol.net 87c2cb7cb9 Fixing Necko build bustage. 1999-07-22 03:33:49 +00:00
tbogard%aol.net f78667de08 Looks like I missed a header for the nsCStringKey -> nsStringKey change. 1999-07-22 02:47:39 +00:00
warren%netscape.com 78e5f4fcb6 Added encode flags. 1999-07-21 07:05:12 +00:00
warren%netscape.com ee768165e8 Working on NS_NewPostDataStream -- doesn't work yet though. 1999-07-21 05:53:25 +00:00
mscott%netscape.com 89620d3de1 we were always returning text/html as the content type for any page using the http channel!!!! this was preventing us from
properly loading rdf files from the web (particularly the tinderbox page for the flash panel). Only use the default
dummy type if we weren't able to extract a legitimate content type from the header.
1999-07-20 22:44:24 +00:00
valeski%netscape.com 23398403cb using more appropriate notification progids 1999-07-20 20:44:02 +00:00
mscott%netscape.com 871ba705fe Necko only!!! Fix build breakage for clobber builds by removing reference to nsIHTTPHandler.h
which is no longer being exported.
1999-07-20 18:46:34 +00:00
warren%netscape.com 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
warren%netscape.com a0781936c1 Started adding encode stream for necko posting. 1999-07-20 08:45:41 +00:00
rickg%netscape.com 844a7e45ef switch to faster string search API 1999-07-19 03:29:56 +00:00
mscott%netscape.com ce79c62b51 bulletproofing some code. it's possible for the loadgroup to be null. 1999-07-17 02:06:47 +00:00
valeski%netscape.com 996ae44af0 mime map api change 1999-07-16 22:00:11 +00:00
warren%netscape.com c5684bf4d7 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
rpotts%netscape.com 9bf7d77b24 Very simple implementation of 301/302 HTTP redirects... 1999-07-16 09:54:20 +00:00
gagan%netscape.com e6e88da3d6 Changed status from nsresult to PRUint32. 1999-07-16 00:40:06 +00:00
gagan%netscape.com dd34216562 Changed const char* to char* for GetStatus calls. 1999-07-16 00:32:50 +00:00
gagan%netscape.com e2e849d721 Fixed some broken status headers. Added Host: header by default. This was otherwise breaking (as in unsuccessful HTTP) for some sites that use virtual hosts and depend upon the Host: header. 1999-07-15 22:57:04 +00:00
rpotts%netscape.com 162a4eeb6a Added the query string (if any) to the GET request... NECKO only. 1999-07-13 20:42:36 +00:00
warren%netscape.com e400f4c284 Fixed http loading in viewer. Wrong channel was being passes to doc loader's stream listener by http. Also added ifdef to easily remove Fill change. 1999-07-11 02:43:37 +00:00
warren%netscape.com 5d32aee9fc Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +00:00
andreas.otte%primus-online.de 8c09626144 NECKO Only: fixes segfault with uninitialized channel A: chofmann R: valeski 1999-07-10 07:58:11 +00:00
mscott%netscape.com 125fd2927a Not part of the regular build yet! Necko change only. Fix my linux build. You can't compare a nsCOMPtr directly to a raw ptr. You need to call .Get() to retrieve the raw ptr and then you can compare for equality 1999-07-08 19:05:48 +00:00
mscott%netscape.com e9a6c957b8 (Not part of the normal mozilla build yet) Necko change only. Make destructor virtual. 1999-07-08 19:04:53 +00:00
waterson%netscape.com 73224fdf86 Fix VC5.0 build bustage (Necko build ONLY). 1999-07-07 20:55:57 +00:00
warren%netscape.com 9efa754f74 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
valeski%netscape.com 4c0be90d9d default to text/html content type if we don't know what it is 1999-07-06 23:44:15 +00:00
gordon%netscape.com 27421d85e0 Removed nsHTTPRequestObserver.cpp from build, because it is obsolete. 1999-07-06 20:15:03 +00:00
gordon%netscape.com ea50f9706f File Removed. 1999-07-06 19:26:57 +00:00
andreas.otte%primus-online.de a7cb885282 implemented MakeAbsolute 1999-07-04 15:50:56 +00:00
warren%netscape.com 7b7d415d65 Fixed GetContentType method to work. 1999-07-03 05:56:24 +00:00
valeski%netscape.com f04f3d575c whoops! 1999-07-03 02:21:01 +00:00
valeski%netscape.com f1c37b22bb added mime type mapping service to http 1999-07-03 00:48:21 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
warren%netscape.com bd950fb2eb Added newline at eof. 1999-07-02 04:59:27 +00:00
mscott%netscape.com 66db1fd657 Fix necko build brekage...onstart/stopbiding --> onStart/stop request. 1999-07-01 23:01:32 +00:00
warren%netscape.com 8462929dda Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
gordon%netscape.com 88643e7e3a First Checked In. 1999-07-01 19:07:32 +00:00
valeski%netscape.com a754d778e7 change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00
valeski%netscape.com a8b4609040 changed our nsISupports::GetIID() calls over to nsCOMTypeInfo<foo>::GetIID(). 1999-06-30 20:00:19 +00:00
mscott%netscape.com 6e29b90b9a Not part of tinderbox and release builds! Fix type of include file nsComPtr.h --> nsCOMPtr.h so necko can build
again on Linux builds. Thanks to Jim Nance for pointing this out.
1999-06-30 18:42:51 +00:00
rpotts%netscape.com 10110b7f14 tweaked the GetContentType(...) hack to first check the Content-type header before returning text/html... 1999-06-30 06:00:02 +00:00
valeski%netscape.com 01525cf417 very temporary gross necko hack to force an text/html content type in the file and http protocols 1999-06-29 23:28:15 +00:00
rpotts%netscape.com da22bd6396 Terminate the consumer request if an error occurs while writing the request to the server... 1999-06-29 20:10:47 +00:00
rpotts%netscape.com 56aeb8f181 Applied patches provided by Tim Rowley - tor@boojum.cs.brown.edu. To fix build problems with the SUNWspro compilers. Thanks Tim!! 1999-06-29 06:58:06 +00:00
valeski%netscape.com 65011fa313 nsIChannel api change. you no longer have to supply an nsIEventQueue when calling an AsyncRead|Write() method. 1999-06-29 01:52:30 +00:00
mscott%netscape.com aad910c48a nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:37:10 +00:00
bruce%cybersight.com f23b43cc61 Fixes for builds in an objdir. Use $(topsrcdir) and not $(DEPTH) for calculating path to rules.mk 1999-06-27 05:47:04 +00:00
rpotts%netscape.com 3d86d3cad6 Added code to propagate the nsISupports context passed into AsyncRead(...) by the consumer back out in the calls to OnStartBinding/OnDataAvailable/OnStopBinding... 1999-06-25 07:51:17 +00:00
mcafee%netscape.com 539b2bac6e typo, fixing linux bustage. 1999-06-25 05:16:37 +00:00
warren%netscape.com 9ac7aaff06 Fixed makefiles for necko module, but netwerk directory. 1999-06-25 03:00:32 +00:00
warren%netscape.com c9b3f8540a Changed our library names from netwerk to necko. 1999-06-24 23:13:46 +00:00
warren%netscape.com cbef31b2d1 Added nsILoadGroup. Changed load attribute strategy to flags. 1999-06-24 22:58:42 +00:00
valeski%netscape.com 901590987b not on main pull - pulled extraneous reference to an nsIHTTPNotify 1999-06-24 21:35:21 +00:00
rpotts%netscape.com 9eb8624bf0 Fixed some reference counting problems with nsHTTPChannel::GetTransport(...) 1999-06-24 11:26:38 +00:00
rpotts%netscape.com 18056ccc22 Fixed nsHTTPChannel::GetEventSink(...) to addref the event sink being returned. This is consistant with XPCom guidelines.. 1999-06-24 11:00:46 +00:00
rpotts%netscape.com 78542664cd Fixed nsHTTPChannel::GetURI(...) to addref the URI being returned. This is consistant with XPCom guidelines.. 1999-06-24 10:52:41 +00:00
rpotts%netscape.com e978586cdb Added NSPR logging... Reworked the building of the request to *only* use nsStrings. 1999-06-24 10:05:01 +00:00
rpotts%netscape.com d9a0ad849f Added initial support for PR_LOG... 1999-06-24 08:56:57 +00:00
valeski%netscape.com 52d9da00b1 not in SeaMonkey pull. added toLowerCase() on the header passed into the GetHeader() method so we're comparing like case strings. also made the ExamineREsponse call syncronous until the proxy object problems are worked out. 1999-06-24 01:12:16 +00:00
rpotts%netscape.com b6759adde7 Added the call to FireOnHeadersAvailable(...) which was lost when I reworked the header parsing... 1999-06-23 23:56:41 +00:00
rpotts%netscape.com c627268767 Reference counting fixes to plug some leaks... 1999-06-23 23:51:16 +00:00
rpotts%netscape.com c42b0d7fb6 Temp removed the code which caches socket transport instances. This will be hooked up again once connection keep-alive is supported... 1999-06-23 07:50:30 +00:00
rpotts%netscape.com 00396576e8 Reworked Server-Status and Response-Header parsing... 1999-06-23 07:41:22 +00:00
warren%netscape.com 806192fcc1 Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy 1999-06-22 00:19:58 +00:00
rpotts%netscape.com 803020b690 The new status line parsing code is now enabled... 1999-06-21 21:21:22 +00:00
rpotts%netscape.com 971870e5ef First pass at parsing the server Response in a more robust way... This is a WIP (not tested yet) 1999-06-21 08:21:28 +00:00
rpotts%netscape.com b92472309b Cleaned up the destructor to correctly release the input stream... 1999-06-21 08:19:26 +00:00
gagan%netscape.com bb6f458181 Fixed header parsing in HTTP. This should work ok now. 1999-06-19 04:02:20 +00:00
valeski%netscape.com 487d9ea921 NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
andreas.otte%primus-online.de f3d98ac1d5 adding hack to change PUBLIC variable
This has no effect until some other changes to SeaMonkey
1999-06-17 19:07:58 +00:00
rpotts%netscape.com 4662660cbb Added an if check around the call out through the event sink... 1999-06-16 09:50:30 +00:00
rpotts%netscape.com 0681307151 Separated the Event Sink from the nsIStreamListener... 1999-06-16 09:40:40 +00:00
rpotts%netscape.com 1efe4fcd92 Fixed header parsing to prevent an endless loop. Moved the code to handle header completion into a new function - FireOnHeadersAvailable. This function notifies the event sink and external modules interested in headers. previously, external modules were being notified multiple times... 1999-06-15 20:59:39 +00:00