summaryrefslogtreecommitdiff
path: root/libsoup/soup-message-private.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2009-07-10 13:11:07 -0400
committerDan Winship <danw@gnome.org>2009-07-10 13:11:07 -0400
commitd9bcaac69203e8f6501a3a60aae350a0cfc342bb (patch)
tree6bd20fd0da4474a42fd20e476b941545e4e87b09 /libsoup/soup-message-private.h
parent2c0d924c6808b20540a76d0d2e9c266dc441b862 (diff)
downloadlibsoup-d9bcaac69203e8f6501a3a60aae350a0cfc342bb.tar.gz
Miscellaneous content-sniffing fixes
Remove the should_sniff_content flag; if there is a sniffer, we always sniff. Clean up soup-message-io a bit to require fewer special cases, and fix a few potential leaks/crashes where it wasn't dealing with IF_CANCELLED_OR_PAUSED correctly. (Although this looks like a large patch, it actually results in a much smaller diff relative to 2.26. Fix tests/sniffing-test to do chunked encoding correctly, make sure to return data in chunks that are smaller than the sniffing buffer size, and make resources/mbox larger than the sniffing buffer size so it takes multiple reads to get enough data (when using chunked encoding). Also add tests for empty response bodies (from Gustavo). http://bugzilla.gnome.org/show_bug.cgi?id=587907
Diffstat (limited to 'libsoup/soup-message-private.h')
-rw-r--r--libsoup/soup-message-private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libsoup/soup-message-private.h b/libsoup/soup-message-private.h
index 999c335d..5c88cbc0 100644
--- a/libsoup/soup-message-private.h
+++ b/libsoup/soup-message-private.h
@@ -31,7 +31,6 @@ typedef struct {
gboolean server_side;
SoupContentSniffer *sniffer;
- gboolean should_sniff_content;
gsize bytes_for_sniffing;
SoupHTTPVersion http_version, orig_http_version;