Software /
code /
prosody
Comparison
net/httpclient_listener.lua @ 4372:052aeb22c645
Merge with trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 31 Aug 2011 20:25:13 -0400 |
parent | 4371:8399b5b57046 |
child | 4378:5e1f4af11626 |
comparison
equal
deleted
inserted
replaced
4370:be14f96290a4 | 4372:052aeb22c645 |
---|---|
5 -- This project is MIT/X11 licensed. Please see the | 5 -- This project is MIT/X11 licensed. Please see the |
6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
7 -- | 7 -- |
8 | 8 |
9 local log = require "util.logger".init("httpclient_listener"); | 9 local log = require "util.logger".init("httpclient_listener"); |
10 local t_concat = table.concat; | 10 local t_concat, t_insert = table.concat, table.insert; |
11 | 11 |
12 local connlisteners_register = require "net.connlisteners".register; | 12 local connlisteners_register = require "net.connlisteners".register; |
13 | 13 |
14 local requests = {}; -- Open requests | 14 local requests = {}; -- Open requests |
15 local buffers = {}; -- Buffers of partial lines | 15 local buffers = {}; -- Buffers of partial lines |