aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-http-stream.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of an unused variable.Jeffrey Stedfast2002-04-171-1/+1
| | | | | | | | | | | | | | | | | | | 2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_folder): Get rid of an unused variable. * providers/smtp/camel-smtp-transport.c (smtp_helo): Use camel_gethostbyaddr since gethostbyaddr is not reentrant. * camel-http-stream.c (http_connect): Updated after the rename of camel_get_host_byname. * camel-service.c (camel_gethostbyname): Renamed. (camel_gethostbyaddr): New cancellable/reentrant version of gethostbyaddr. svn path=/trunk/; revision=16484
* Don't get the statuscode here anymore. (http_method_invoke): Use aJeffrey Stedfast2002-04-061-34/+139
| | | | | | | | | | | | | | | | | | | | 2002-04-05 Jeffrey Stedfast <fejj@ximian.com> * camel-http-stream.c (http_get_headers): Don't get the statuscode here anymore. (http_method_invoke): Use a User-Agent header and do basic proxy authentication. (stream_read): Handle redirects. (camel_http_stream_set_user_agent): New function to allow client to set the User-Agent string. (camel_http_stream_set_proxy): New function for setting the proxy server. (camel_http_stream_set_proxy_authrealm): New function for setting the proxy auth realm. (camel_http_stream_set_proxy_authpass): New function for setting the proxy auth password. svn path=/trunk/; revision=16367
* Rename the OpenSSL implementation of things to match the NSSDan Winship2002-03-111-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation so that callers don't need to care which one is being used. * camel-tcp-stream-openssl.c: Implement CamelTcpStreamSSL, not CamelTcpStreamOpenSSL. Rename methods as well. Replace the camel-tcp-stream-openssl.h include with camel-tcp-stream-ssl.h. * camel-tcp-stream-openssl.h: Gone. * camel-tcp-stream-ssl.c: Add a note explaining that this implementation is only used for NSS, and that OpenSSL's implementation is in another file. (Should probably do some CVS renaming magic at some point.) * camel-http-stream.c (http_connect): Remove OpenSSL refs; the previously-NSS-specific code works for both now. * camel-remote-store.c: Likewise. * providers/smtp/camel-smtp-transport.c: Likewise. * providers/pop3/camel-pop3-store.c: Likewise. * Makefile.am (libcamelinclude_HEADERS): Remove camel-tcp-stream-openssl.h svn path=/trunk/; revision=16093
* Ximian is spelled Ximian, not Ximain. :-)Jeffrey Stedfast2002-02-151-1/+1
| | | | svn path=/trunk/; revision=15726
* Use camel_mime_parser_read to read internal parser data.Jeffrey Stedfast2002-02-051-1/+1
| | | | | | | | | | | 2002-02-04 Jeffrey Stedfast <fejj@ximian.com> * camel-http-stream.c (stream_read): Use camel_mime_parser_read to read internal parser data. (camel_http_stream_get_content_type): Implemented. (http_method_invoke): Use HTTP/1.0 instead of 1.1 svn path=/trunk/; revision=15572
* Use camel_mime_parser_read to read internal parser data.Jeffrey Stedfast2002-02-051-105/+114
| | | | | | | | | | | | 2002-02-04 Jeffrey Stedfast <fejj@ximian.com> * camel-http-stream.c (stream_read): Use camel_mime_parser_read to read internal parser data. (camel_http_stream_get_content_type): Implemented. * camel-mime-utils.c (header_decode_int): Made public. svn path=/trunk/; revision=15571
* Added. New stream for HTTP requests (currently supported are GET andJeffrey Stedfast2002-02-051-0/+441
2002-02-04 Jeffrey Stedfast <fejj@ximian.com> * camel-http-stream.[c,h]: Added. New stream for HTTP requests (currently supported are GET and HEAD). * camel-tcp-stream-ssl.c (stream_connect): Call set_errno appropriately. svn path=/trunk/; revision=15567