equal
deleted
inserted
replaced
193 return "failure", "internal-server-error", err |
193 return "failure", "internal-server-error", err |
194 end |
194 end |
195 log("debug", "Received %d bytes from socket: %s", #line, line); |
195 log("debug", "Received %d bytes from socket: %s", #line, line); |
196 |
196 |
197 while line and line:match("^%* ") do |
197 while line and line:match("^%* ") do |
198 line, err = self.conn:receive("*l"); |
198 line = self.conn:receive("*l"); |
199 end |
199 end |
200 |
200 |
201 if line:match("^%+") and #line > 2 then |
201 if line:match("^%+") and #line > 2 then |
202 local data = line:sub(3); |
202 local data = line:sub(3); |
203 data = data and unb64(data); |
203 data = data and unb64(data); |