s4:lib/http: remove stream and send_queue from state
authorRalph Boehme <slow@samba.org>
Tue, 26 Mar 2019 14:04:28 +0000 (15:04 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 7 Aug 2019 12:54:40 +0000 (12:54 +0000)
They're not used, so remove them.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@suse.de>
source4/lib/http/http.c

index a6bf66ed679d071534688253e0bad92dce859c82..53aed2463242fca4cafe4d3b7bbabd3f448bea7f 100644 (file)
@@ -761,10 +761,8 @@ static NTSTATUS http_push_body(TALLOC_CTX *mem_ctx,
 
 struct http_send_request_state {
        struct tevent_context   *ev;
-       struct tstream_context  *stream;
        struct loadparm_context *lp_ctx;
        struct cli_credentials  *credentials;
-       struct tevent_queue     *send_queue;
        struct http_request     *request;
        DATA_BLOB               buffer;
        struct iovec            iov;
@@ -801,8 +799,6 @@ struct tevent_req *http_send_request_send(TALLOC_CTX *mem_ctx,
        }
 
        state->ev = ev;
-       state->stream = stream;
-       state->send_queue = send_queue;
        state->request = request;
 
        /* Push the request line */