]> granicus.if.org Git - libevent/commit
http: fix "Expect: 100-continue" client side
authorAzat Khuzhin <a3at.mail@gmail.com>
Fri, 11 Mar 2016 10:08:28 +0000 (13:08 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Fri, 11 Mar 2016 17:58:46 +0000 (20:58 +0300)
commit0b46b39e95ad77951176f09782138305ba34edf3
tree6760e5dc7cf8944db525d94c18a03fe25763b4d6
parent5c2b4c19f18daa7b09978cdc3827dd4917a81a0f
http: fix "Expect: 100-continue" client side

Instead of sending data always at the beginning of the request wait until the
server will respond with "HTTP/1.1 100 Continue".
Before this patch server do send "HTTP/1.1 100 Continue" but client always send
post data even without waiting server response.

P.S. this patch also touches some not 100% related tab-align issues.

Covered-by: http/data_length_constraints
Covered-by: http/read_on_write_error
http-internal.h
http.c