Skip to content

Commit

Permalink
OS header change quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
exebetche committed May 7, 2014
1 parent 71ef0ef commit ce72dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlsub.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,7 @@ function http_req(host, port, request)
vlc.net.send(fd, request)
vlc.net.poll(pollfds)

local response = vlc.net.recv(fd, 1024)
local response = vlc.net.recv(fd, 2048)
local headerStr, body = string.match(response, "(.-\r?\n)\r?\n(.*)")
local header = parse_header(headerStr)
local contentLength = tonumber(header["Content-Length"])
Expand Down

0 comments on commit ce72dfa

Please sign in to comment.