libsoup r986 - in branches/libsoup-2.4: . libsoup tests
- From: danw svn gnome org
- To: svn-commits-list gnome org
- Subject: libsoup r986 - in branches/libsoup-2.4: . libsoup tests
- Date: Wed, 19 Dec 2007 19:15:02 +0000 (GMT)
Author: danw
Date: 2007-12-19 19:15:01 +0000 (Wed, 19 Dec 2007)
New Revision: 986
ViewCVS link: http://svn.gnome.org/viewcvs/libsoup?rev=986&view=rev
Added:
branches/libsoup-2.4/libsoup/soup-message-body.c
branches/libsoup-2.4/libsoup/soup-message-body.h
Modified:
branches/libsoup-2.4/ChangeLog
branches/libsoup-2.4/libsoup/Makefile.am
branches/libsoup-2.4/libsoup/soup-marshal.list
branches/libsoup-2.4/libsoup/soup-message-client-io.c
branches/libsoup-2.4/libsoup/soup-message-io.c
branches/libsoup-2.4/libsoup/soup-message-private.h
branches/libsoup-2.4/libsoup/soup-message-server-io.c
branches/libsoup-2.4/libsoup/soup-message.c
branches/libsoup-2.4/libsoup/soup-message.h
branches/libsoup-2.4/libsoup/soup-server.c
branches/libsoup-2.4/libsoup/soup-soap-message.c
branches/libsoup-2.4/libsoup/soup-xmlrpc.c
branches/libsoup-2.4/tests/context-test.c
branches/libsoup-2.4/tests/get.c
branches/libsoup-2.4/tests/getbug.c
branches/libsoup-2.4/tests/ntlm-test.c
branches/libsoup-2.4/tests/pull-api.c
branches/libsoup-2.4/tests/simple-httpd.c
branches/libsoup-2.4/tests/simple-proxy.c
branches/libsoup-2.4/tests/xmlrpc-test.c
Log:
* libsoup/soup-message-body.c (SoupMessageBody): new opaque type
for request/response bodies allowing less hacky handling of
chunked encoding.
(SoupBuffer): refcounted buffer type
* libsoup/soup-message.h (SoupMessage): turn request and response
members into SoupMessageBody.
(SoupOwnership, SoupDataBuffer): gone, replaced by
SoupMessageBody/SoupBuffer.
* libsoup/soup-message.c (soup_message_wrote_chunk)
(soup_message_got_chunk): add the chunk as a signal param rather
than having it be visible in msg->request/response.
(soup_message_add_chunk, soup_message_add_final_chunk)
(soup_message_pop_chunk): replaced by SoupMessageBody methods now.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]