After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664620 - Require a method to retrieve content-length value, when content-encoding is set to gZip
Require a method to retrieve content-length value, when content-encoding is s...
Status: RESOLVED OBSOLETE
Product: libsoup
Classification: Core
Component: HTTP Transport
unspecified
Other All
: Normal major
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks: 690226
 
 
Reported: 2011-11-23 10:10 UTC by Sukanya ChandraSekar
Modified: 2018-09-21 16:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sukanya ChandraSekar 2011-11-23 10:10:50 UTC
We are working for an Application, that is capable of sending and receiving mails using Libsoup.

The Content-Length which is part of response header, specifies the size of the compressed content sent by the Server. 

The issue is When the response is received in the form of chunks, it is difficult to predict the response content size much before all the chunks received. This requires the application to allocate & reallocate memory to copy each response chunk .

If Content-encoding is set to gzip, Why not Libsoup provide some method to get the Content-length with the resulting size of decompressed content?
Comment 1 Dan Winship 2015-02-10 11:57:48 UTC
[mass-moving all "UNCONFIRMED" libsoup bugs to "NEW" after disabling the "UNCONFIRMED" status for this product now that bugzilla.gnome.org allows that. bugspam-libsoup-20150210]
Comment 2 GNOME Infrastructure Team 2018-09-21 16:07:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libsoup/issues/39.