Software /
code /
prosody
Comparison
net/http.lua @ 619:6d720aba51cb
Oops, don't call server.loop() because we'll be running inside the server
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 12 Dec 2008 04:38:22 +0000 |
parent | 618:69de678792d6 |
child | 628:3712d36b6d25 |
comparison
equal
deleted
inserted
replaced
618:69de678792d6 | 619:6d720aba51cb |
---|---|
154 req.callback = callback; | 154 req.callback = callback; |
155 req.reader = request_reader; | 155 req.reader = request_reader; |
156 req.state = "status" | 156 req.state = "status" |
157 | 157 |
158 listener.register_request(req.handler, req); | 158 listener.register_request(req.handler, req); |
159 | 159 |
160 server.loop() | |
161 return req; | 160 return req; |
162 end | 161 end |
163 | 162 |
164 function destroy_request(request) | 163 function destroy_request(request) |
165 if request.conn then | 164 if request.conn then |