Alex Graveley [Mon, 10 Sep 2001 22:25:03 +0000 (22:25 +0000)]
Shuffle features
Alex Graveley [Mon, 10 Sep 2001 22:22:27 +0000 (22:22 +0000)]
Fix typo
Alex Graveley [Mon, 10 Sep 2001 22:15:30 +0000 (22:15 +0000)]
Pass authtypes param to soup_server_register. Ditto. Ditto.
2001-09-10 Alex Graveley <alex@ximian.com>
* tests/cgi-test.c (main): Pass authtypes param to
soup_server_register.
* tests/server-test.c (main): Ditto.
* tests/mod-server-test.c (soup_server_init): Ditto.
* tests/stockquote2.wsdl: Format fixes.
Alex Graveley [Sat, 8 Sep 2001 02:20:49 +0000 (02:20 +0000)]
Rewritten for the new apis, and to be more clean, and to have many
2001-09-07 Alex Graveley <alex@ximian.com>
* tests/stress-test.c: Rewritten for the new apis, and to be more
clean, and to have many settings for varying simultaneous
messages, message counts, iterations, posting of data, etc.
* tests/simple-test.c: Rewritten for the new apis, and to be more
clean.
* tests/server-test.c (main): Added. Simple test for standalone
dynamic servers.
* tests/mod-server-test.c (callback): Added. Simple test for
soup-httpd/apache server modules.
* tests/handler-test.c: Added. Stress test for SoupMessage
handlers.
* tests/cgi-test.c: Added. Simple test for CGI serving.
* src/soup-httpd/soup-httpd.c: Use libsoup's SoupServer code for
all request processing. soup-httpd becomes a wrapper for module
loading and logging.
* src/libwsdl/Makefile.am (INCLUDES): Remove WSDL_CFLAGS.
* src/libsoup/soup-socket.c (soup_socket_server_accept): Set
O_NONBLOCK on the returned SoupSocket.
(soup_socket_server_try_accept): Ditto.
* src/libsoup/soup-server.c: Reimplement for independent
SoupServer support. Remove separate authorization handler
concept. Process based on request paths. Import code from
soup-httpd to allow standalone dynamic servers, and cgi support.
* src/libsoup/soup-queue.c (soup_check_used_headers): Remove
special handling of SOAPAction.
(soup_queue_connect_cb): Start listening for reads immediately so
that we cna process HTTP 1xx intermediate responses.
(soup_queue_message): Rename from soup_message_queue.
soup_message_queue is now in soup-message.c and simply calls this.
* src/libsoup/soup-private.h (RESPONSE_BLOCK_SIZE): Rename
existing SoupServer to SoupHost. Create new SoupServer struct.
Add server and server_sock elements to SoupMessagePrivate. Move
SoupServerHandler definition to soup-server.h. Move define for
soup_queue_shutdown to new soup-queue.h.
* src/libsoup/soup-ntlm.c: Add mojo for getting a portable alloca.
* src/libsoup/soup-message.h: Remove SoupErrorCode. Add
SoupKnownErrorCode and SoupErrorClass enums. Add
SOUP_ERROR_CANT_CONNECT_PROXY and
SOUP_ERROR_CANT_AUTHENTICATE_PROXY for errors related directly to
proxy communications.
* src/libsoup/soup-message.c (soup_message_new): Take the HTTP
method name as the second argument. Remove per-message handlers
for authentication and redirection.
(soup_message_issue_callback): Uses finalize_message to avoid
double cleanup. Remove error argument, as they should be set
using soup_message_set_error.
(soup_message_run_handlers): Run per-message handlers followed by
global handlers, if a handler requeues a message we stop
processing. If the invoke_type is POST_BODY, we issue the final
callback.
(soup_message_remove_handler): Make public.
(soup_message_set_error): Impl
(soup_message_set_error_full): Impl
(soup_message_set_handler_error): Impl
(soup_get_error_phrase): Impl
(soup_get_error_class): Impl
* src/libsoup/soup-dav-server.c: Add a reference to the SoupServer
we are registered with. Use soup_message_set_error throughout.
(i_copy): Fix assignment causing this loop to never run.
(soup_dav_server_register): Add SoupServer and required authtypes
parameters.
* src/libsoup/soup-context.c: Replace references to SoupServer
with SoupHost, so we don't clash with the SoupServer from
soup-server.h. Rename soup_servers to soup_hosts.
* src/libsoup/Makefile.am (libsoup_la_SOURCES): Add soup-queue.h.
* configure.in (SOUP_CURRENT): Add some helpful comments and bump
to '3'. Bump version to 0.5.99 (0.6 development). Use
AC_FUNC_ALLOCA instead of just checking for alloca.h. Remove
WSDL_CFLAGS.
Alex Graveley [Thu, 30 Aug 2001 04:45:55 +0000 (04:45 +0000)]
Link with libwsdl.so and libwsdl-build.a.
2001-08-30 Alex Graveley <alex@ximian.com>
* src/soup-wsdl/Makefile.am (soup_wsdl_LDADD): Link with
libwsdl.so and libwsdl-build.a.
* src/libwsdl/Makefile.am (libwsdlinclude_HEADERS): Dont install
wsdl-typecodes-c.h. Make libwsdl-build a static lib.
(libwsdl_build_a_SOURCES): Remove everthing but wsdl-typecodes-c.[ch].
(libwsdl_build_a_LIBADD): Depend on libwsdl.
Alex Graveley [Wed, 29 Aug 2001 23:13:32 +0000 (23:13 +0000)]
Update for new layout.
2001-08-29 Alex Graveley <alex@ximian.com>
* build/soup_ssl_proxy.dsp:
* build/soup_httpd.dsp:
* build/libsoupwsdl.dsp:
* build/libsoupapache.dsp:
* build/libsoup.dsp: Update for new layout.
Alex Graveley [Wed, 29 Aug 2001 23:01:38 +0000 (23:01 +0000)]
Fix headers for new layout. Ditto.
2001-08-29 Alex Graveley <alex@ximian.com>
* src/*/*.h: Fix headers for new layout.
* tests/*.c: Ditto.
* tests/Makefile.am (LDFLAGS): Use libtool to link with built
libsoup and libwsdl.
(libstockquote2_la_LIBADD): Ditto for libsoup-apache.
* tests/stockquote2.wsdl: Indent prettily.
* src/Makefile.am (SUBDIRS): Update for new source layout.
* configure.in (SOUP_INCLUDEDIR): Use @includedir@/soup.
(SOUP_WSDL_LIBS): include $SOUP_LIBS.
(CFLAGS): Add Makefiles for new layout.
* soup-config.in: Use @includedir@/soup.
* soup.pc.in (Cflags): Use @includedir@/soup.
Alex Graveley [Tue, 28 Aug 2001 17:58:05 +0000 (17:58 +0000)]
Perform deep unix magic in order to identify if we are running in a
2001-08-28 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-socket.c (soup_address_new): Perform deep
unix magic in order to identify if we are running in a
debugger. This is needed because gdb causes segfaults in child
processes that load shlibs due to breakpoints being left over in
the new unwatched process. Now, gethostbyname() loads shared libs
to do name resolution on many unixes, which would cause soup to be
hard to use and otherwise suck when run inside a debugger. So now
everything works perfectly both inside and outside of gdb.
(soup_address_new_cb): Resolve the hostname syncronously if we are
inside a debugger.
Alex Graveley [Tue, 28 Aug 2001 13:21:33 +0000 (13:21 +0000)]
Remove mega FIXME.
2001-08-28 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-context.c (soup_try_existing_connections):
Remove mega FIXME.
* src/soup-core/soup-queue.c (soup_queue_read_headers_cb): If the
response server is HTTP 1.0, default to non-persistent connections.
* src/soup-core/soup-httpd.c (soup_httpd_read_headers_cb): Store
http version for incoming message.
* src/soup-core/soup-headers.c (soup_headers_parse_response):
Support returning the http version.
(soup_headers_parse_request): Ditto.
Alex Graveley [Tue, 28 Aug 2001 08:45:07 +0000 (08:45 +0000)]
Rewrite HEX decoding to hopefully be easier to understand and maintain.
2001-08-28 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-transfer.c (soup_transfer_read_chunk):
Rewrite HEX decoding to hopefully be easier to understand and maintain.
* src/soup-core/soup-message.c (redirect_handler): Don't unref the
old context until after we requeue the message using the new
context, as we may still have a connection from the old one.
Alex Graveley [Tue, 28 Aug 2001 01:22:23 +0000 (01:22 +0000)]
Set the compare func on the returned object.
2001-08-27 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-auth.c (soup_auth_new_digest): Set the
compare func on the returned object.
Joe Shaw [Tue, 28 Aug 2001 01:17:32 +0000 (01:17 +0000)]
Just return NULL from this function for now. There are some bugs in it.
2001-08-27 Joe Shaw <joe@ximian.com>
* src/soup-core/soup-context.c (soup_try_existing_connections):
Just return NULL from this function for now. There are some bugs
in it. Added a big, triple FIXME.
Joe Shaw [Mon, 27 Aug 2001 20:22:54 +0000 (20:22 +0000)]
forgot to commit this
Alex Graveley [Mon, 27 Aug 2001 01:38:51 +0000 (01:38 +0000)]
Format fixes. Format fixes.
2001-08-26 Alex Graveley <alex@ximian.com>
* src/soup-wsdl/*: Format fixes.
* src/soup-wsdl-runtime/*: Format fixes.
Alex Graveley [Sun, 26 Aug 2001 20:23:47 +0000 (20:23 +0000)]
impl. (soup_config_ssl_ca_directory): impl. (soup_config_ssl_certificate):
2001-08-26 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-misc.c (soup_config_ssl_ca_file): impl.
(soup_config_ssl_ca_directory): impl.
(soup_config_ssl_certificate): impl.
Add config file support for client certificates.
Alex Graveley [Sun, 26 Aug 2001 08:22:27 +0000 (08:22 +0000)]
impl. (soup_set_ssl_ca_dir): impl. (soup_set_ssl_cert_files): impl.
2001-08-26 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-misc.c (soup_set_ssl_ca_file): impl.
(soup_set_ssl_ca_dir): impl.
(soup_set_ssl_cert_files): impl.
* src/soup-core/soup-openssl.c (soup_openssl_init): Load cert
authority files found in HTTPS_CA_DIR and HTTPS_CA_FILE.
(soup_openssl_get_iochannel): Load certificate found in
HTTPS_CERT_FILE and private key from file in
HTTPS_KEY_FILE. Client certificates thanks to Scott Hutton
(shutton@pobox.com).
Alex Graveley [Sat, 25 Aug 2001 01:47:30 +0000 (01:47 +0000)]
Always regenerate req->priv->req_header.
2001-08-24 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-queue.c (soup_queue_connect_cb): Always
regenerate req->priv->req_header.
* src/soup-core/soup-ntlm.c (soup_ntlm_lanmanager_hash): pass 15
byte buffer to work around array bounds read by setup_schedule.
* src/soup-core/soup-message.c (authorize_handler): No need to
free msg->priv->req_header as it is generated on each request now.
(soup_message_set_request_header): Ditto.
* src/soup-core/soup-auth.c (ntlm_auth): Only return
auth->response one time. Subsequent calls return NULL.
* src/soup-core/soup-queue.c (soup_encode_http_auth): Check for
NULL auth response.
Alex Graveley [Thu, 23 Aug 2001 10:17:02 +0000 (10:17 +0000)]
Fix under-allocation. (ntlm_parse): Comment out the NTLM host/domain
2001-08-23 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-auth.c (ntlm_new): Fix under-allocation.
(ntlm_parse): Comment out the NTLM host/domain parsing code, as it
segfaults for some reason. Not that this matters as IIS seems to
competely ignore these parts of the NTLM message :) There is also
some memory corruption in soup-ntlm.c causing segfaults after the
message-finished callback returns.
Alex Graveley [Thu, 23 Aug 2001 07:52:55 +0000 (07:52 +0000)]
Add SoupAuth.compare_func and call this from here, to remove hardcoded
2001-08-23 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-auth.c (soup_auth_invalidates_prior): Add
SoupAuth.compare_func and call this from here, to remove hardcoded
auth scheme knowledge.
(soup_auth_new_from_header): Iterate known_auth_schemes looking
for a match with auth scheme supplied, instead of hardcoding known
auth schemes.
Alex Graveley [Thu, 23 Aug 2001 07:18:57 +0000 (07:18 +0000)]
Take an old_auth argument, if auth_types do not match always return TRUE.
2001-08-23 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-auth.c (soup_auth_invalidates_prior): Take an
old_auth argument, if auth_types do not match always return
TRUE. This allows for a server requested re-auth with a different
auth mechanism.
Alex Graveley [Thu, 23 Aug 2001 07:01:57 +0000 (07:01 +0000)]
Microsoft NTLM authentication support compliments of Dan Winship
2001-08-23 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-ntlm.[ch]: Microsoft NTLM authentication
support compliments of Dan Winship (danw@ximian.com).
* src/soup-core/Makefile.am (libsoup_la_SOURCES): Add soup-ntlm.[ch]
* src/soup-core/soup-auth.c (soup_auth_new_from_header): Set auth
context before header parsing. Add NTLM case. Call
auth->parse_func instead of hardcoding.
(soup_auth_invalidates_prior): add NTLM, which should always
invalidate.
(ntlm_new): impl.
(ntlm_free): impl.
(ntlm_parse): impl. Hack to get domain from the uri's authmech
field.
(ntlm_auth): impl.
* src/soup-core/soup-dav-server.c (get_depth): return 0 for
unknown value.
* src/soup-core/soup-server.h: Remove SoupServerAnonymousToken and
add SoupServerNTLMToken.
Alex Graveley [Thu, 23 Aug 2001 02:28:05 +0000 (02:28 +0000)]
Update Chris Blizzard's email address.
Joe Shaw [Mon, 20 Aug 2001 20:13:26 +0000 (20:13 +0000)]
Bump up version to 0.4.4 Ditto.
2001-08-20 Joe Shaw <joe@ximian.com>
* configure.in: Bump up version to 0.4.4
* src/soup-core/soup-private.h: Ditto.
* src/soup-core/soup-auth.c (compute_response, digest_auth_func):
Instead of just passing uri->path, pass
uri->path + '?' + uri->querystring if present.
Alex Graveley [Fri, 17 Aug 2001 20:01:05 +0000 (20:01 +0000)]
Update for DAV methods.
2001-08-17 Alex Graveley <alex@ximian.com>
* build/libsoup.def: Update for DAV methods.
Alex Graveley [Fri, 17 Aug 2001 18:46:20 +0000 (18:46 +0000)]
Oops.
Alex Graveley [Fri, 17 Aug 2001 18:44:23 +0000 (18:44 +0000)]
Initial WebDAV server support.
2001-08-17 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-dav-server.[ch]: Initial WebDAV server
support.
* src/soup-core/soup-dav.[ch]: Beginnings of WebDAV client
support.
* configure.in: Add warning about updating
src/soup-core/soup-private.h when version changes.
* src/soup-core/soup-private.h: Declare SoupAuth here, so
including is possible.
Alex Graveley [Sun, 12 Aug 2001 08:03:11 +0000 (08:03 +0000)]
Connect to HUP signal to avoid indefinate hangs. Remove idle waitpid
2001-08-12 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-ssl.c (soup_ssl_get_iochannel): Connect to
HUP signal to avoid indefinate hangs. Remove idle waitpid
handler. Thanks to Chris Toshok for finding this one.
Alex Graveley [Sat, 11 Aug 2001 07:18:59 +0000 (07:18 +0000)]
Fix typo causes O_NONBLOCK to to be set.
2001-08-11 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-ssl-proxy.c (main): Fix typo causes
O_NONBLOCK to to be set.
* src/soup-core/soup-ssl.c (soup_ssl_get_iochannel): Ditto.
Alex Graveley [Fri, 10 Aug 2001 04:03:11 +0000 (04:03 +0000)]
Include sys/socket.h for sa in SoupAddress.
2001-08-10 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-private.h: Include sys/socket.h for sa in
SoupAddress.
Alex Graveley [Thu, 9 Aug 2001 01:43:33 +0000 (01:43 +0000)]
Bump version to 0.4.3.
2001-08-08 Alex Graveley <alex@ximian.com>
* configure.in: Bump version to 0.4.3.
Alex Graveley [Thu, 9 Aug 2001 01:37:39 +0000 (01:37 +0000)]
Handle entity headers after chunk body, closes bug #6846.
2001-08-08 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-transfer.c (soup_transfer_read_chunk):
Handle entity headers after chunk body, closes bug #6846.
* src/soup-core/soup-queue.c (soup_queue_read_done_cb): Fixup comments.
Alex Graveley [Tue, 7 Aug 2001 00:28:28 +0000 (00:28 +0000)]
Oops.
Alex Graveley [Tue, 7 Aug 2001 00:27:08 +0000 (00:27 +0000)]
Define VERSION to "Win/0.4.2" for Windows clients.
2001-08-06 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-private.h: Define VERSION to "Win/0.4.2" for
Windows clients.
Alex Graveley [Mon, 6 Aug 2001 23:36:12 +0000 (23:36 +0000)]
Remove warning used for testing. (soup_transfer_write_cb): Ditto.
2001-08-06 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-transfer.c (soup_transfer_read_cb): Remove
warning used for testing.
(soup_transfer_write_cb): Ditto.
Alex Graveley [Mon, 6 Aug 2001 23:24:30 +0000 (23:24 +0000)]
Read speedup to read all available data before processing and returning to
2001-08-06 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-transfer.c (soup_transfer_read_cb): Read
speedup to read all available data before processing and returning
to the mainloop.
* src/soup-core/soup-message.h: Add defines for standard DAV methods.
Alex Graveley [Tue, 31 Jul 2001 20:38:24 +0000 (20:38 +0000)]
Remove special case for GET and HEAD when adding content-length header.
2001-07-31 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-queue.c (soup_get_request_header): Remove
special case for GET and HEAD when adding content-length header.
Alex Graveley [Tue, 31 Jul 2001 02:47:34 +0000 (02:47 +0000)]
Bump version to 0.4.2.
2001-07-30 Alex Graveley <alex@ximian.com>
* configure.in: Bump version to 0.4.2.
Alex Graveley [Mon, 30 Jul 2001 22:58:29 +0000 (22:58 +0000)]
Content-length should be avoided for HEAD requests.
2001-07-30 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-queue.c (soup_queue_read_headers_cb):
Content-length should be avoided for HEAD requests.
Alex Graveley [Mon, 30 Jul 2001 22:35:25 +0000 (22:35 +0000)]
Fix bug where only the first valid config token is loaded from the config
2001-07-30 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-misc.c (soup_load_config_internal): Fix bug
where only the first valid config token is loaded from the config file.
Alex Graveley [Mon, 30 Jul 2001 22:02:31 +0000 (22:02 +0000)]
Fix dangling pointer error where a resolved SoupAddress is passed to the
2001-07-30 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-socket.c (soup_address_new_cb): Fix dangling
pointer error where a resolved SoupAddress is passed to the callback,
and then realloc'd.
* src/soup-core/soup-headers.c (soup_headers_parse_response):
Don't require gchar const **status_phrase.
Alex Graveley [Mon, 30 Jul 2001 00:47:08 +0000 (00:47 +0000)]
strdup response_phrase.
2001-07-29 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-apache.c (soup_apache_message_create): strdup
response_phrase.
* src/soup-core/soup-httpd.c (soup_httpd_read_done_cb): Ditto.
* src/soup-core/soup-message.c (soup_message_free): Free
response_phrase.
* src/soup-core/soup-context.c (soup_try_existing_connections):
Revert accidental commit.
* src/soup-core/soup-queue.c (soup_get_request_header): Only
inhibit Content-Length for GET and HEAD if request.length is 0;
(soup_message_queue): Free response_phrase on requeue.
* src/soup-core/soup-socket.c (soup_address_new): Fix
formatting.
Joe Shaw [Thu, 26 Jul 2001 20:28:52 +0000 (20:28 +0000)]
sigh. I am dumb.
Joe Shaw [Thu, 26 Jul 2001 20:27:16 +0000 (20:27 +0000)]
Don't display the SOAPAction header if it's either provided by the user or
2001-07-26 Joe Shaw <joe@ximian.com>
* src/soup-core/soup-queue.c (soup_get_request_header): Don't display
the SOAPAction header if it's either provided by the user or it is
NULL.
Joe Shaw [Thu, 26 Jul 2001 20:08:54 +0000 (20:08 +0000)]
Bump the version up to 0.4.1.
2001-07-26 Joe Shaw <joe@ximian.com>
* configure.in: Bump the version up to 0.4.1.
* src/soup-core/soup-queue.c (soup_get_request_header): Fix a logic
error. Send the actual version of Soup with the User-Agent header
instead of always 0.1.
Joe Shaw [Wed, 25 Jul 2001 19:29:11 +0000 (19:29 +0000)]
Close a bunch of leaked file descriptors from piping.
2001-07-25 Joe Shaw <joe@ximian.com>
* src/soup-core/soup-socket.c (soup_address_new,
soup_address_get_name): Close a bunch of leaked file descriptors from
piping.
Alex Graveley [Thu, 19 Jul 2001 23:05:41 +0000 (23:05 +0000)]
Allow override of http version. Only include Content-Length if method is
2001-07-19 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-queue.c (soup_get_request_header): Allow
override of http version. Only include Content-Length if method is
not GET or HEAD.
* src/soup-core/soup-message.c (soup_message_new): Set default
http_version to SOUP_HTTP_1_1;
(soup_message_set_http_version): Impl.
(soup_message_get_flags): Check for NULL.
* src/soup-core/soup-private.h: Add http_version to _SoupMessagePrivate.
Alex Graveley [Thu, 19 Jul 2001 21:38:56 +0000 (21:38 +0000)]
Bump version to 0.4.0.
2001-07-19 Alex Graveley <alex@ximian.com>
* configure.in: Bump version to 0.4.0.
Alex Graveley [Thu, 19 Jul 2001 21:23:57 +0000 (21:23 +0000)]
Remove -Werror from WSDL_CFLAGS as this ills on so many redhat distros.
2001-07-19 Alex Graveley <alex@ximian.com>
* configure.in: Remove -Werror from WSDL_CFLAGS as this ills on so
many redhat distros. Remove unused ISO C99 IEEE754 section. Set
the default to hide more warnings.
* src/soup-wsdl-runtime/wsdl-typecodes.c: Remove \r from end of
lines.
* src/soup-wsdl/Makefile.am: Formatting.
* src/soup-wsdl-runtime/Makefile.am: Formatting.
Alex Graveley [Tue, 17 Jul 2001 23:48:21 +0000 (23:48 +0000)]
Add querysting to hash. (soup_context_uri_equal): Compare querystring for
2001-07-17 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-context.c (soup_context_uri_hash): Add
querysting to hash.
(soup_context_uri_equal): Compare querystring for equality.
* src/soup-core/soup-transfer.c (soup_transfer_read_error_cb): Add
gross hack to avoid double frees by only freeing the SoupReader
or SoupWriter if we are not currently processing a callback.
(soup_transfer_read_cb): Ditto
(soup_transfer_write_error_cb): Ditto.
(soup_transfer_write_cb): Ditto.
(soup_transfer_read_cancel): Return if currently processing a callback.
(soup_transfer_write_cancel): Ditto.
* src/soup-core/soup-message.c (soup_message_new): Add
redirect_handler by default.
(soup_message_set_flags): Remove redirect handler when
SOUP_MESSAGE_NO_REDIRECT is set, and add it when it is unset.
* src/soup-core/soup-message.h: Change SOUP_MESSAGE_FOLLOW_REDIRECT to
SOUP_MESSAGE_NO_REDIRECT, as redirect is on by default now.
Alex Graveley [Tue, 17 Jul 2001 00:40:00 +0000 (00:40 +0000)]
Set len to 0 before calling callback to handle cases where no content
2001-07-16 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-transfer.c (soup_transfer_read_cb): Set len
to 0 before calling callback to handle cases where no content
length is specified. Special thanks goes out to Joe Shaw
(joe@ximian.com) for finding this one.
Alex Graveley [Mon, 16 Jul 2001 19:16:55 +0000 (19:16 +0000)]
Remove the unused digest_data from _SoupMessagePrivate.
2001-07-16 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-private.h: Remove the unused digest_data from
_SoupMessagePrivate.
* src/soup-core/soup-auth.c: Reorganize into basic-auth,
digest-auth, public interface, and parse routines hopefullly to
make this more readable.
Alex Graveley [Fri, 13 Jul 2001 23:57:13 +0000 (23:57 +0000)]
Add windows x86 type alignment defines.
2001-07-13 Alex Graveley <alex@ximian.com>
* src/soup-wsdl-runtime/wsdl-typecodes.c: Add windows x86 type
alignment defines.
Alex Graveley [Tue, 10 Jul 2001 23:29:17 +0000 (23:29 +0000)]
Replace SOUP_PROTOCOL_SHTTP with SOUP_PROTOCOL_HTTPS. Ditto. Ditto.
2001-07-10 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-uri.h: Replace SOUP_PROTOCOL_SHTTP with
SOUP_PROTOCOL_HTTPS.
* src/soup-core/soup-context.c (soup_connection_get_iochannel): Ditto.
* src/soup-core/soup-httpd.c (soup_httpd_conn_accept): Ditto.
Alex Graveley [Tue, 10 Jul 2001 03:28:52 +0000 (03:28 +0000)]
Typo to go to SETUP_ERROR on error.
2001-07-09 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-socket.c (soup_socket_server_new): Typo to go
to SETUP_ERROR on error.
Alex Graveley [Tue, 10 Jul 2001 02:41:07 +0000 (02:41 +0000)]
Use g_strncasecmp.
2001-07-09 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-uri.c (soup_uri_get_protocol): Use
g_strncasecmp.
* src/soup-core/soup-transfer.c (soup_transfer_write_cb): ifdef
wrap all references to SIGPIPE.
* src/soup-core/soup-ssl.c: ifdef wrap sys/wait.h and sys/socket.h.
(soup_ssl_get_iochannel): Do nothing if on windows.
* src/soup-core/soup-socket.c: Various never-before compiled
windows cleanups.
* src/soup-core/soup-misc.c (soup_load_config): ifdef wrap
SYSCONFDIR souprc loading.
* src/soup-core/soup-context.c: ifdef wrap sys/socket.h
(soup_connection_setup_socket): Do nothing if on windows.
* src/soup-core/soup-auth.c: If on windows include <process.h> for
getpid().
* configure.in: Add checks for sys/sockio.h and sys/wait.h
Alex Graveley [Tue, 10 Jul 2001 00:43:17 +0000 (00:43 +0000)]
Use unique Debug output directory.
2001-07-09 Alex Graveley <alex@ximian.com>
* build/Soup_core.dsp
build/Soup_wsdl_runtime.dsp
build/Soup_wsdl.dsp: Use unique Debug output directory.
Alex Graveley [Tue, 10 Jul 2001 00:20:02 +0000 (00:20 +0000)]
Initial run of windows build scripts.
2001-07-09 Alex Graveley <alex@ximian.com>
* build/Soup.dsw
build/Soup_apache.dsp
build/Soup_core.dsp
build/Soup_httpd.dsp
build/Soup_ssl_proxy.dsp
build/Soup_wsdl.dsp
build/Soup_wsdl_runtime.dsp: Initial run of windows build scripts.
Alex Graveley [Mon, 9 Jul 2001 20:37:52 +0000 (20:37 +0000)]
New client authentication (basic/digest) code from Joe Shaw
2001-07-09 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-auth.[ch]: New client authentication (basic/digest)
code from Joe Shaw (joe@ximian.com).
* src/soup-core/soup-queue.c (soup_encode_http_auth): Updated to
use soup-auth.
(soup_get_request_header): Pass the SoupMessage to
soup_encode_http_auth instead of just the URI. Check for
req->action in header creation.
(soup_queue_error_cb): Reset read_tag and write_tag to avoid
double free.
(soup_encode_http_auth): Use soup_auth_authorize().
* src/soup-core/soup-private.h: Add SoupAuth to SoupContext.
* src/soup-core/soup-context.c (soup_context_unref): Free auth.
* src/soup-core/soup-cgi.c: Flog.
* src/soup-core/soup-message.c (soup_message_new): Create handlers
for 401 (Authorization Required) and 407 (Proxy-Authorization
Required) response codes.
(soup_message_redirect): Rename to redirect_handler.
(redirect_handler): Don't unref existing context if new context
creation fails.
(soup_message_set_header): Check for value before insertion.
* src/soup-core/soup-transfer.c (soup_transfer_read_cancel): Free
recv_buf contents if no callback has been issued.
(soup_transfer_read_cb): Set callback_issued.
Alex Graveley [Thu, 5 Jul 2001 20:01:13 +0000 (20:01 +0000)]
Use const uris.
2001-07-05 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-socks.c (soup_connect_socks_proxy): Use const uris.
* src/soup-core/soup-queue.c (soup_encode_http_auth): Make uri const.
* src/soup-core/soup-context.[ch] (soup_context_get_uri): Return a
const SoupUri.
* src/soup-core/soup-digest.c (soup_digest_md5_finalize): Make
compile.
Alex Graveley [Mon, 2 Jul 2001 17:12:26 +0000 (17:12 +0000)]
Formatting fixes. (digest_md5_challenge): Use string auth_header instead
2001-07-02 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-digest.c: Formatting fixes.
(digest_md5_challenge): Use string auth_header instead of
GByteArray for token.
(soup_digest_challenge): Free response GByteArray after adding
Authorization header.
Alex Graveley [Mon, 2 Jul 2001 16:46:27 +0000 (16:46 +0000)]
Remove _SoupMessagePrivate bits covered by soup-transfer.
2001-07-02 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-private.h: Remove _SoupMessagePrivate bits
covered by soup-transfer.
* src/soup-core/soup-queue.c: Use soup-transfer.
(soup_queue_error_cb): Remove handling of buggy MS IIS server
tranferring partial content then closing connection. Report this
as SOUP_ERROR_IO instead.
* src/soup-core/soup-httpd.c: Use soup-transfer.
* src/soup-core/soup-transfer.[ch]: Added. HTTP Transport
abstraction used to clean up client and standalone/cgi server code
duplication.
* configure.in: Bump version to 0.3.
* src/soup-core/soup-queue.c (soup_check_used_headers): Use
toupper in switch instead of upper/lower cases for each.
* src/soup-core/soup-httpd.c: Declare apache dummy method
implementations to avoid warnings.
Joe Shaw [Wed, 27 Jun 2001 22:06:02 +0000 (22:06 +0000)]
Largely gutted. Made RFC 2617 compliant. Removed RFC 2831 compliance.
2001-06-27 Joe Shaw <joe@ximian.com>
* src/soup-core/soup-digest.c: Largely gutted. Made RFC 2617
compliant. Removed RFC 2831 compliance.
(soup_digest_challenge): Implemented.
Joe Shaw [Thu, 21 Jun 2001 16:53:19 +0000 (16:53 +0000)]
Do a g_return_val_if_fail() on the SoupContext being passed in so we don't
2001-06-21 Joe Shaw <joe@ximian.com>
* src/soup-core/soup-message.c (soup_message_new): Do a
g_return_val_if_fail() on the SoupContext being passed in so we don't
generate a bad SoupMessage.
Alex Graveley [Wed, 20 Jun 2001 02:59:55 +0000 (02:59 +0000)]
Use soup_context_uri_hash and soup_context_uri_equal for matching existing
2001-06-19 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-context.c (soup_context_from_uri): Use
soup_context_uri_hash and soup_context_uri_equal for matching
existing server contexts instead of just matching on path.
(soup_context_uri_hash): Added. Returns a hash of the user, authmech,
password, and path of a given SoupUri.
(soup_context_uri_equal): Added. Returns TRUE if the user, authmech,
password, and path of a two SoupUris match.
Alex Graveley [Mon, 18 Jun 2001 16:41:46 +0000 (16:41 +0000)]
Formatting.
Alex Graveley [Mon, 18 Jun 2001 16:34:53 +0000 (16:34 +0000)]
Remove accidental \r's. No more commiting from windows.
Dick Porter [Mon, 18 Jun 2001 13:04:10 +0000 (13:04 +0000)]
Un-windozed the unistd check
(there was a ^M at the end of the line, that caused strange messages to
come from configure)
Alex Graveley [Fri, 15 Jun 2001 19:06:05 +0000 (19:06 +0000)]
add check for unistd.h
2001-06-15 Alex Graveley <alex@ximian.com>
* configure.in: add check for unistd.h
* src/soup-core/soup-apache.c,
src/soup-core/soup-cgi.c,
src/soup-core/soup-context.c,
src/soup-core/soup-digest.c,
src/soup-core/soup-nss.c,
src/soup-core/soup-openssl.c,
src/soup-core/soup-private.h,
src/soup-core/soup-queue.c,
src/soup-core/soup-server.c,
src/soup-core/soup-ssl-proxy.c,
src/soup-core/soup-ssl.c.
src/soup-wsdl-runtime/wsdl-typecodes.c: #ifdef protect config.h
and unistd.h inclusion.
Dick Porter [Fri, 15 Jun 2001 14:17:42 +0000 (14:17 +0000)]
replace 'childs' with 'xmlChildrenNode', 'root' with 'xmlRootNode' and
2001-06-15 Dick Porter <dick@ximian.com>
* src/soup-wsdl-runtime/wsdl-schema.h:
* src/soup-wsdl-runtime/wsdl-schema.c:
* src/soup-wsdl-runtime/wsdl-schema-glib.h:
* src/soup-wsdl-runtime/wsdl-schema-glib.c:
* src/soup-wsdl/wsdl-parse.c:
* src/soup-core/soup-serializer.c:
* src/soup-core/soup-parser.c: replace 'childs' with
'xmlChildrenNode', 'root' with 'xmlRootNode' and 'CHAR' with
'xmlChar' for compatibility with both libxml1 and libxml2
* configure.in: Check for either libxml1 or libxml2, favouring
libxml1 but selectable with --with-libxml=[1,2]
Joe Shaw [Fri, 15 Jun 2001 00:48:06 +0000 (00:48 +0000)]
If we're passing in NULL (to reset the proxy), don't try to
2001-06-14 Joe Shaw <joe@ximian.com>
* src/soup-core/soup-misc.c (soup_set_proxy): If we're passing in
NULL (to reset the proxy), don't try to soup_context_ref() it.
Alex Graveley [Thu, 14 Jun 2001 22:26:17 +0000 (22:26 +0000)]
Don't start from header_len offset. (soup_finish_read): Don't copy the
2001-06-14 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-queue.c (soup_read_chunk): Don't start from
header_len offset.
(soup_finish_read): Don't copy the recv_buf, just reference
it. Don't free recv_buf.
(soup_queue_read_cb): Handle truncating chunks, also truncate
recv_buf after finishing headers. Make recv_buf contents public
for chunk handlers.
* src/soup-core/soup-message.c (soup_message_cleanup): Don't free
the recv_buf->data, as we no longer copy it.
* src/soup-core/soup-httpd.c: Update to missing header_len field.
* src/soup-core/soup-private.h: change SoupMessage.header_len to a
boolean headers_done. As we now truncate the buffer after
downloading headers.
Alex Graveley [Thu, 14 Jun 2001 18:54:04 +0000 (18:54 +0000)]
Remove redirect handler if option is removed.
2001-06-14 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-message.c (soup_message_set_flags): Remove
redirect handler if option is removed.
(soup_message_remove_handler): Added. Remove handler given
function and user_data. Should this be made public?
(soup_message_run_handlers): Remove g_warning. No checks are run
against body handlers.
(soup_message_cleanup): Zero cur_chunk_len and cur_chunk_idx.
Joe Shaw [Wed, 13 Jun 2001 20:04:51 +0000 (20:04 +0000)]
If SOUP_SYNC_DNS is in the user's environment, use an old fashioned
2001-06-13 Joe Shaw <joe@ximian.com>
* src/soup-core/soup-socket.c (soup_address_new): If SOUP_SYNC_DNS is
in the user's environment, use an old fashioned synchronous DNS lookup
on UNIX.
Joe Shaw [Fri, 8 Jun 2001 01:20:58 +0000 (01:20 +0000)]
Change msg->priv->flags to msg->priv->msg_flags so it'll build again.
2001-06-07 Joe Shaw <joe@ximian.com>
* src/soup-core/soup-message.c (soup_message_redirect): Change
msg->priv->flags to msg->priv->msg_flags so it'll build again.
(soup_message_run_handlers): Add a default case to the switch
statement (for RESPONSE_BODY_HANDLER) to squash a warning.
Alex Graveley [Thu, 7 Jun 2001 22:29:03 +0000 (22:29 +0000)]
Stop processing if a handler requeues the message.
2001-06-07 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-message.c (soup_message_run_handlers): Stop
processing if a handler requeues the message.
* src/soup-core/soup-queue.c (soup_process_headers): Allow a
handler to requeue the message without having any more handlers or
callbacks called.
(soup_finish_read): ditto.
(soup_queue_read_cb): ditto.
* src/soup-core/soup-message.c (soup_message_redirect): Requeue
message based on Location header, if response status code is 300,
301, 302, 303, or 305.
(soup_message_set_flags): If SOUP_MESSAGE_FOLLOW_REDIRECT is set,
add a header handler (on Location) which calls
soup_message_redirect ().
Alex Graveley [Thu, 7 Jun 2001 00:50:23 +0000 (00:50 +0000)]
implement. (soup_message_add_response_code_handler): ditto.
2001-06-06 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-message.c (soup_message_add_header_handler):
implement.
(soup_message_add_response_code_handler): ditto.
(soup_message_add_body_handler): ditto.
(soup_message_run_handlers): uh-huh.
(soup_message_free): Free allocated handler info.
* src/soup-core/soup-message.h: Change SOUP_MESSAGE_PROCESS_CHUNKS
to SOUP_MESSAGE_OVERWRITE_CHUNKS. This will allow large files to
be processed using a BODY_CHUNK handler, instead of keeping
everything in memory.
* src/soup-core/soup-queue.c (soup_process_headers): Run PRE_BODY
handlers.
(soup_finish_read): Run POST_BODY handlers.
(soup_queue_read_cb): Run BODY_CHUNK handlers.
Joe Shaw [Wed, 6 Jun 2001 21:31:55 +0000 (21:31 +0000)]
Implement. Sets the HTTP method for a given message. (soup_message_new):
2001-06-06 Joe Shaw <joe@ximian.com>
* src/soup-core/soup-message.c (soup_message_set_method,
soup_message_get_method): Implement. Sets the HTTP method for a given
message.
(soup_message_new): Set the default method to SOUP_METHOD_POST.
* src/soup-core/soup-misc.c (soup_substring_index): Make sure we
check the very last possible character (<= instead of <) for substrings.
* src/soup-core/soup-queue.c (soup_get_request_header): Send an HTTP
request for the method set in the message instead of always POST.
* src/soup-core/soup-parser.c: Change the #include to <parser.h> from
<gnome-xml/parser.h>.
* src/soup-core/soup-serializer.h: Change the #include to <tree.h> from
<gnome-xml/tree.h>.
Alex Graveley [Tue, 5 Jun 2001 01:26:02 +0000 (01:26 +0000)]
Add these empty Apache method implementations so soup modules built using
2001-06-04 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-httpd.c: (ap_*) Add these empty Apache method
implementations so soup modules built using soup-apache can be
loaded into soup-http.
(main): Pass a SoupHttpdServerSock object representing a listening
server to soup_httpd_conn_accept.
(soup_httpd_finish_read): Return useful error explanations to
client when no SOAPAction header is specified, or no server handler for
the specified SOAPAction is found.
(soup_httpd_message_construct): Lookup content-length
correctly. Free req_method and req_path.
* src/soup-core/soup-message.c (soup_message_set_header): if
overwriting an existing header, be sure
to free the old key and value.
* src/soup-core/soup-queue.c (soup_queue_read_async): rename to
(soup_queue_read_cb): this.
(soup_queue_error_async): rename to
(soup_queue_error_cb): this.
(soup_queue_write_async): rename to
(soup_queue_write_cb): this.
(soup_queue_connect): rename to
(soup_queue_connect_cb): this.
Dick Porter [Mon, 4 Jun 2001 11:47:54 +0000 (11:47 +0000)]
A new error message mechanism for reporting schema parse errors to the
2001-06-04 Dick Porter <dick@ximian.com>
* src/soup-wsdl-runtime/wsdl-schema.c: A new error message
mechanism for reporting schema parse errors to the calling code
* src/soup-wsdl-runtime/wsdl-schema-glib.c
(wsdl_schema_glib_parse_struct, wsdl_schema_glib_start_element,
wsdl_schema_glib_end_element): Use new error message mechanism
* src/soup-wsdl/wsdl-parse.c (wsdl_parse_warning,
wsdl_parse_error, wsdl_parse_fatal): Log messages via wsdl_debug,
so the module selection works
Alex Graveley [Fri, 1 Jun 2001 18:48:33 +0000 (18:48 +0000)]
Correctly note copyright for soup_base64_encode() to the FSF, and credit
2001-06-01 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-misc.c: Correctly note copyright for
soup_base64_encode() to the FSF, and credit Chris Blizzard as the
actual author.
Alex Graveley [Fri, 1 Jun 2001 18:21:44 +0000 (18:21 +0000)]
Take soup-cgi.c out of rotation until server/client codepaths merge.
2001-06-01 Alex Graveley <alex@ximian.com>
* src/soup-core/Makefile.am (libsoup_la_SOURCES): Take soup-cgi.c
out of rotation until server/client codepaths merge.
* src/soup-core/soup-httpd.c (soup_httpd_finish_read): Don't span
mulptiple lines for content-type header.
Alex Graveley [Fri, 1 Jun 2001 18:08:08 +0000 (18:08 +0000)]
Only mark which custom headers are used, and directly g_string_sprintfa()
2001-06-01 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-queue.c (soup_check_used_headers): Only mark
which custom headers are used, and directly g_string_sprintfa()
the custom header.
(soup_get_request_header): Soptimize header writing.
Alex Graveley [Fri, 1 Jun 2001 12:55:13 +0000 (12:55 +0000)]
Added.
2001-06-01 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-message.c (soup_message_set_method):
(soup_message_add_header_handler):
(soup_message_add_response_code_handler):
(soup_message_add_body_handler): Added.
* src/soup-core/soup-socket.c (soup_address_get_name_sync): Allow
syncronous reverse name lookups.
* TODO (TODO): Updated.
* src/soup-core/Makefile.am (bin_PROGRAMS): Added soup-httpd.
* src/soup-core/soup-httpd.c: Added. Simple httpd server
implementation. This shares a *lot* of code with soup-queue.c, so
some hardc0re refactoring action is planned.
* configure.in (GMODULE_LIBS): Added.
Dick Porter [Tue, 29 May 2001 10:40:18 +0000 (10:40 +0000)]
Put the generated code into the build directory. Run soup-config through
2001-05-29 Dick Porter <dick@ximian.com>
* tests/Makefile.am: Put the generated code into the build
directory. Run soup-config through /bin/sh to work around a
permissions problem.
Dick Porter [Fri, 25 May 2001 21:36:34 +0000 (21:36 +0000)]
Documentation
2001-05-25 Dick Porter <dick@ximian.com>
* Documentation
Alex Graveley [Fri, 25 May 2001 05:36:36 +0000 (05:36 +0000)]
No need to free priv->recv_buf as it is now done in
2001-05-25 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-queue.c (soup_message_queue): No need to free
priv->recv_buf as it is now done in soup_message_cleanup().
(soup_message_queue): Free response_header keys and values before
destroying the hash table.
* src/soup-core/soup-message.c (soup_message_free): Don't free
priv->recv_buf here.
(soup_message_cleanup): Free priv->recv_buf here instead.
* src/soup-core/soup-queue.c (soup_finish_read): Since we now
g_strdup() all headers, and we already g_memdup the actual body
buffer, free the temporary recv_buf.
* src/soup-core/soup-headers.c (soup_headers_parse_response):
g_strdup() the response reason phrase.
Alex Graveley [Thu, 24 May 2001 23:33:32 +0000 (23:33 +0000)]
Update Licensing section for soup-ssl-proxy.
2001-05-24 Alex Graveley <alex@ximian.com>
* README: Update Licensing section for soup-ssl-proxy.
Larry Ewing [Thu, 24 May 2001 20:18:47 +0000 (20:18 +0000)]
include string.h for strlen and strcmp prototypes. include string.h for
001-05-24 Larry Ewing <lewing@ximian.com>
* src/soup-wsdl-runtime/wsdl-soap-parse.c: include string.h for
strlen and strcmp prototypes.
* src/soup-wsdl-runtime/wsdl-soap-memory.c: include string.h for
memset prototype.
Dick Porter [Thu, 24 May 2001 11:35:28 +0000 (11:35 +0000)]
Fix some typos.
Miguel de Icaza [Thu, 24 May 2001 00:01:01 +0000 (00:01 +0000)]
review alex, review
Dick Porter [Wed, 23 May 2001 22:11:33 +0000 (22:11 +0000)]
Eliminate the extra layer of indirection for list items that are naturally
2001-05-23 Dick Porter <dick@ximian.com>
* src/soup-wsdl-runtime/wsdl-typecodes-c.c
(wsdl_typecode_write_c_mm_list):
* src/soup-wsdl-runtime/wsdl-soap-parse.c
(wsdl_soap_set_list_param):
* src/soup-wsdl-runtime/wsdl-soap-marshal.c
(wsdl_soap_marshal_list_param): Eliminate the extra layer of
indirection for list items that are naturally pointers.
* tests/test-wsdl-runtime.c: Update list tests
* src/soup-wsdl-runtime/wsdl-typecodes.c:
* src/soup-wsdl-runtime/wsdl-schema.c:
* src/soup-wsdl/wsdl-trace.c:
* src/soup-wsdl/wsdl-soap-emit.c:
* src/soup-wsdl/wsdl-parse.c:
* src/soup-wsdl/wsdl-describe.c:
* docs/reference/soup-sections.txt: Started documenting the code
Alex Graveley [Wed, 23 May 2001 03:36:35 +0000 (03:36 +0000)]
Added. All release announcements should be prepended here.
2001-05-22 Alex Graveley <alex@ximian.com>
* RELEASE (ANNOUNCE): Added. All release announcements should be
prepended here.
JP Rosevear [Tue, 22 May 2001 20:14:02 +0000 (20:14 +0000)]
null terminate the buffer
2001-05-22 JP Rosevear <jpr@ximian.com>
* src/soup-core/soup-apache.c (soup_apache_read_request): null
terminate the buffer
Rodrigo Moya [Tue, 22 May 2001 14:44:18 +0000 (14:44 +0000)]
don't emit code to add the transport headers to the SoupEnv, which is only
2001-05-22 Rodrigo Moya <rodrigo@ximian.com>
* src/soup-wsdl/wsdl-soap-parse.c: don't emit code to add the
transport headers to the SoupEnv, which is only used for SOAP
request/response headers
Rodrigo Moya [Tue, 22 May 2001 14:34:18 +0000 (14:34 +0000)]
g_strdup the hash table key also (soup_env_set_request_header): ditto
2001-05-22 Rodrigo Moya <rodrigo@ximian.com>
* src/soup-core/soup-env.c (soup_env_set_response_header):
g_strdup the hash table key also
(soup_env_set_request_header): ditto
Alex Graveley [Tue, 22 May 2001 01:10:47 +0000 (01:10 +0000)]
gtk-doc fixups.
2001-05-21 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-queue.c (soup_message_queue): gtk-doc fixups.
* src/soup-core/soup-socket.c (soup_socket_server_new): New.
(soup_socket_server_accept): New.
(soup_socket_server_try_accept): New.
Rodrigo Moya [Mon, 21 May 2001 14:39:13 +0000 (14:39 +0000)]
use the correct XML node to get the headers
2001-05-18 Rodrigo Moya <rodrigo@ximian.com>
* src/soup-wsdl-runtime/wsdl-soap-parse.c (wsdl_soap_headers):
use the correct XML node to get the headers
Alex Graveley [Fri, 18 May 2001 22:29:45 +0000 (22:29 +0000)]
"Subscribe" not "Subject" in soup-list-request@ximian.com message body. :)
2001-05-18 Alex Graveley <alex@ximian.com>
* README: "Subscribe" not "Subject" in
soup-list-request@ximian.com message body. :)
Alex Graveley [Fri, 18 May 2001 05:59:03 +0000 (05:59 +0000)]
Prune soup-core internal files.
2001-05-18 Alex Graveley <alex@ximian.com>
* docs/reference/soup-docs.sgml: Prune soup-core internal files.
* configure.in: Add pretty section headers, move gtk-doc section
JP Rosevear [Thu, 17 May 2001 22:29:11 +0000 (22:29 +0000)]
do not free the callback data, or the second time the method gets called,
2001-05-17 JP Rosevear <jpr@ximian.com>
* src/soup-wsdl/wsdl-soap-skels.c
(wsdl_emit_soap_skels_binding_operation): do not free the callback
data, or the second time the method gets called, *KABOOM*