]> granicus.if.org Git - libevent/commit
Add new error_cb for actual reporting of HTTP request errors.
authorAzat Khuzhin <a3at.mail@gmail.com>
Thu, 21 Mar 2013 09:55:40 +0000 (13:55 +0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 25 Apr 2013 19:11:44 +0000 (15:11 -0400)
commit7b077194cc8fd38808e3f210fc090aedb5df25d5
treef7da3a0a774ef4c48e305353c0a2b06f81a347a5
parentf935e2159a128f07a2172ae139236e7f0b415e40
Add new error_cb for actual reporting of HTTP request errors.

It is useful to know why you callback called with NULL (i.e. it failed),
for example if you set max_body with evhttp_connection_set_max_body_size()
you must know that it failed because of body was longer than this size.

 (Commit message tweaked by Nick)
evrpc.c
http-internal.h
http.c
include/event2/http.h
include/event2/http_struct.h
test/regress_http.c