diff options
author | Gina Haeussge <osd@foosel.net> | 2008-06-22 11:21:05 +0200 |
---|---|---|
committer | Gina Haeussge <osd@foosel.net> | 2008-06-22 11:21:05 +0200 |
commit | 5b037208e131484949e86b50b6dd198dfd117708 (patch) | |
tree | 00042db91d1d8f8496708015f17c78a9c3698f77 /lib | |
parent | 32951c6c0c3c45d1431b526556423e9484c29037 (diff) | |
download | rpg-5b037208e131484949e86b50b6dd198dfd117708.tar.gz rpg-5b037208e131484949e86b50b6dd198dfd117708.tar.bz2 |
HTTPClient: Allow limited retrieval without aborting
Introduces a new member variable "max_bodysize_abort" into the HTTP client.
If this is set to true (which is the default), the HTTP client shows it
current behvaiour of aborting with an error condition if the given max_bodysize
is exceeded during retrieval. If it is set to false however, the HTTP client
just stops retrieval but returns what it already got. This allows the retrieval
of e.g. the first 10K of a web document for searching for pingback data.
darcs-hash:20080622092105-2b4f5-28c4399123775d82986faf22c7d89ccb22a8e025.gz
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions