end
end
-local send_http_socket = function(docker_socket, req_header, req_body, callback)
+local send_http_socket = function(options, docker_socket, req_header, req_body, callback)
if docker_socket:send(req_header) == 0 then
return {
headers={
local docker_socket = open_socket(req_options)
if docker_socket then
- return send_http_socket(docker_socket, req_header, req_body, callback)
+ return send_http_socket(options, docker_socket, req_header, req_body, callback)
else
return {
headers = {