dovecot-2.2: lib-http: Removed duplicated code
dovecot at dovecot.org
dovecot at dovecot.org
Sat Aug 10 15:00:46 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/7fe7cb56b4a6
changeset: 16684:7fe7cb56b4a6
user: Timo Sirainen <tss at iki.fi>
date: Sat Aug 10 15:00:36 2013 +0300
description:
lib-http: Removed duplicated code
diffstat:
src/lib-http/http-client-request.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diffs (23 lines):
diff -r 9aa9944bd96e -r 7fe7cb56b4a6 src/lib-http/http-client-request.c
--- a/src/lib-http/http-client-request.c Thu Aug 08 22:37:35 2013 +0300
+++ b/src/lib-http/http-client-request.c Sat Aug 10 15:00:36 2013 +0300
@@ -593,19 +593,6 @@
}
}
- /* rewind payload stream */
- if (req->payload_input != NULL && req->payload_size > 0 && status != 303) {
- if (req->payload_input->v_offset != req->payload_offset &&
- !req->payload_input->seekable) {
- http_client_request_error(req,
- HTTP_CLIENT_REQUEST_ERROR_ABORTED,
- "Redirect failed: Cannot resend payload; stream is not seekable");
- return;
- } else {
- i_stream_seek(req->payload_input, req->payload_offset);
- }
- }
-
newport = (url->have_port ? url->port : (url->have_ssl ? 443 : 80));
target = http_url_create_target(url);
More information about the dovecot-cvs
mailing list