]> granicus.if.org Git - libevent/commitdiff
test/http: *lingering tests shouldn't have "Expect: 100-continue"
authorAzat Khuzhin <a3at.mail@gmail.com>
Fri, 11 Mar 2016 13:18:48 +0000 (16:18 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Fri, 11 Mar 2016 16:19:14 +0000 (19:19 +0300)
test/regress_http.c

index f11f8cae09cac38fad88cdcac88431536942f21b..d788017dfd354839e27f5fa45b11edd8ff2afd78 100644 (file)
@@ -3903,7 +3903,6 @@ http_lingering_close_test_impl(void *arg, int lingering)
        req = evhttp_request_new(cb, data->base);
        tt_assert(req);
        evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost");
-       evhttp_add_header(evhttp_request_get_output_headers(req), "Expect", "100-continue");
        evbuffer_add_printf(evhttp_request_get_output_buffer(req), "%s", long_str);
        if (evhttp_make_request(evcon, req, EVHTTP_REQ_POST, "/") == -1) {
                tt_abort_msg("Couldn't make request");