s4:lib/http: use http_conn in http_send_request_send() and http_read_response_send()
authorRalph Boehme <slow@samba.org>
Tue, 6 Aug 2019 10:33:40 +0000 (12:33 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 7 Aug 2019 12:54:40 +0000 (12:54 +0000)
commit5ae515245c235427c5d07f473cf53015701ce4e1
tree7155bbf53aaab43c040487a1779da85df7f6f451
parent53007b77116c510e296995c8a0a8b836b88d7770
s4:lib/http: use http_conn in http_send_request_send() and http_read_response_send()

Works, tested with

  $ bin/smbtorture -W RIVERSIDE --realm=RIVERSIDE.SITE -s /dev/null \
    -U Administrator%Passw0rd \
    ncacn_http:10.10.11.164[HttpProxy=10.10.11.164:593,HttpUseTls=false,HttpAuthOption=basic,HttpConnectOption=UseHttpProxy] \
    rpc.epmapper.epmapper.Lookup_simple

I get an ACCESS_DENIED error, but I get it over HTTP. :)

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