Commit Graph

467 Commits (d13b198ddda4cf7bf929766c9e479c497055bfff)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 4a5fa077b3 * ChunkedEncoding.cc: Added #include directive for strings.h 2006-03-01 07:46:21 +00:00
Tatsuhiro Tsujikawa dd26d75751 * Logger.h:
* SimpleLogger.{h,cc}: Changed the type of msg to const char*.
2006-03-01 07:14:52 +00:00
Tatsuhiro Tsujikawa 583e09780b * HttpConnection.cc: Added "Proxy-Connection" header to proxy
request.
	Added "User-Agent" header to CONNECT proxy request.
	Fixed "Proxy-Authorization" header. Now proxy authorization 
works
	properly.
2006-03-01 07:00:39 +00:00
Tatsuhiro Tsujikawa bc1cf6ed2d * AbstractCommand.cc:
* DownloadCommand.{h, cc}: Aborted downloading commands now 
properly
	unregister its cuid from SegmentMan.	
	* DownloadEngine.cc: .aria2 file was written when a downloading
	failed with errors.
2006-03-01 02:26:29 +00:00
Tatsuhiro Tsujikawa d770d1c40a * common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a
compiler
	does not define these macros.
2006-02-28 03:09:22 +00:00
Tatsuhiro Tsujikawa 20ba8c707a * Util.{h,cc}: added startsWith().
* CookieBox.cc: rewrited criteriaFind() using Util::startsWith() 
and
	Util::endsWith().
	* SocketCore.cc: struct addrinfo is now  zero-initialized.
	* common.h: added #include directive of limit.h.
	* DownloadEngine.cc: added #include directive of sys/time.h and
	algorithm.
	* Exception.h: added #include directive of stdio.h.
	* AbstractCommand.h: added #include directive of sys/time.h.
	* DownloadCommand.h: added #include directive of sys/time.h.
	* *.h: added #include directive of common.h to all base classes.
	subclasses' one was removed.
2006-02-28 02:25:45 +00:00
Tatsuhiro Tsujikawa cd5f591c41 2006-02-22 15:40:04 +00:00
Tatsuhiro Tsujikawa 2462a3b06c 2006-02-22 14:30:47 +00:00
Tatsuhiro Tsujikawa 27d392d5f2 2006-02-22 12:16:10 +00:00
Tatsuhiro Tsujikawa ebdb4b86cf 2006-02-22 11:18:47 +00:00
Tatsuhiro Tsujikawa 28fc3405dd 2006-02-21 15:01:05 +00:00
Tatsuhiro Tsujikawa 5a8710676d 2006-02-21 12:27:17 +00:00
Tatsuhiro Tsujikawa f0f3f8b45d 2006-02-18 07:47:50 +00:00
Tatsuhiro Tsujikawa 6abf60448e * Make Request-URI an absolute path. Some servers cannot permit
absoluteURI as Request-URI.
2006-02-18 05:36:50 +00:00
Tatsuhiro Tsujikawa 5752a554bf * Added Referer support.
* Added referer command-line option.
	* Added rety-wait command-line option.
	* Fixed formating bug in Exception::setMsg()
2006-02-18 05:13:21 +00:00
Tatsuhiro Tsujikawa 2c732211f4 * Added HTTPS support.
* Added SocketCore. Socket is now handle class for SocketCore.
	* Fixed bug in ChunkedEncoding: expanding buffer size is wrong
	* Fixed bug in DownloadCommand: In Chunked Encoding, it wrongly
	adds to Segment.ds buff length from the socket.
2006-02-17 18:51:12 +00:00
Tatsuhiro Tsujikawa 52634627bc Initial import 2006-02-17 13:35:04 +00:00