s4:lib/http: let http_read_response_send/recv() also consume the body if it fits...
[samba.git] / source4 / librpc / rpc / dcerpc_roh_channel_out.c
index b370e564ee1547a9b3f2a23889a99fab53dc9666..8a337ad167fdd1f479da4a9613d5b5ebcbc7b7a2 100644 (file)
@@ -482,7 +482,8 @@ struct tevent_req *roh_recv_out_channel_response_send(TALLOC_CTX *mem_ctx,
        }
 
        subreq = http_read_response_send(state, ev,
-                                        roh->default_channel_out->streams.active);
+                                        roh->default_channel_out->streams.active,
+                                        0); /* we'll get the content later */
        if (tevent_req_nomem(subreq, req)) {
                return tevent_req_post(req, ev);
        }