Commit Graph

60 Commits (21eeadecc7c94a07ea1ebdb1666dd40fa2ea8a9d)

Author SHA1 Message Date
Kim Alvefur bf9705c70b net.httpserver: Make function local, fixes loading since there is no environment [luacheck] 8 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Emmanuel Gil Peyrot c6048a7cb4 Update every link to the documentation to use HTTPS 10 years ago
Kim Alvefur 69652ea24b net.*: Remove use of module() function 11 years ago
Matthew Wild 30957d900d net.httpserver: Add compatibility stub 14 years ago
Matthew Wild 2d24f6f5cb net.httpserver, net.httpserver_listener: Remove (obsoleted by net.http.* and mod_http, see http://prosody.im/doc/developers/http ) 14 years ago
Waqas Hussain 1e7af78482 net.httpserver: Comment dependency on connlisteners. Further cleanup to follow. 14 years ago
Waqas Hussain a67ef03130 net.httpserver: Removed unused import. 14 years ago
Matthew Wild 7ea98c6eb4 net.httpserver: Default 'ports' = {5280} 15 years ago
Matthew Wild c218f83032 net.httpserver: Default 'ports' = {5280} 15 years ago
Matthew Wild b94b9eba5e net.httpserver: Revert commit eccd3c87d717 which has since been fixed in a better way 15 years ago
Waqas Hussain ed36a87ee6 net.httpserver: Removed an unused function. 15 years ago
Waqas Hussain 6bac77b06f net.httpserver: Removed an unused function. 15 years ago
Matthew Wild 479cbc73ed net.httpserver: Fix HTTP after commit c299726d2b4e and add a 500 error response if a request handler fails to make a response to the client 15 years ago
Matthew Wild e3d06ad370 net.httpserver: Fix HTTP after commit c299726d2b4e and add a 500 error response if a request handler fails to make a response to the client 15 years ago
Waqas Hussain 51debb3535 net.httpserver: Catch errors thrown in HTTP handlers. 15 years ago
Waqas Hussain fc6149a695 net.httpserver: Catch errors thrown in HTTP handlers. 15 years ago
Matthew Wild 404c107e3f net.httpserver: Log when an error occurs inside a HTTP request handler 15 years ago
Waqas Hussain f3386d7519 net.httpserver: Removed unused import and variables. 15 years ago
Waqas Hussain 6d0384f4cf net.httpserver: Removed unused import and variables. 15 years ago
Waqas Hussain 1850c45665 net.httpserver: Changed an unnecessary global access. 15 years ago
Waqas Hussain 24171721b5 net.httpserver: Changed an unnecessary global access. 15 years ago
Waqas Hussain 3546ee5491 net.httpserver: Decode percent-encoded characters in URL path. 15 years ago
Waqas Hussain ed8184a2c5 net.httpserver: Decode percent-encoded characters in URL path. 15 years ago
Waqas Hussain b7e51a203d Monster whitespace commit (beware the whitespace monster). 15 years ago
Waqas Hussain 3da6413681 net.httpserver: Removed old HTTP parser, and updated to use util.httpstream. 16 years ago
Matthew Wild fc62af2024 net.httpserver: Join multiple headers with the same name as per RFC (thanks darkhippo) 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 03384d466b net.httpserver: Make request.conn be the server.lua conn instead of the underlying socket (more useful this way) 16 years ago
Matthew Wild 46e81c8baf net.httpserver: Trailing whitespace 16 years ago
Matthew Wild 08eb296248 net.httpserver: More robust handling of headers split across multiple packets 16 years ago
Matthew Wild 7d1211bac1 net.httpserver: Make it possible to return responses with no body 16 years ago
Matthew Wild ab114b1b5f net.httpserver: Close connection on invalid HTTP status line 16 years ago
Waqas Hussain c700f8867c net.httpserver: Optimized response serialization. 16 years ago
Matthew Wild f975e9028d net.httpserver: Fix usage of old connection API syntax 16 years ago
Waqas Hussain 0c6835cf3a net.httpserver: Removed mime handling (now in mod_httpserver). Unknown dynamic content is now always served as text/html. 16 years ago
Waqas Hussain c7fa0dd97e net.httpserver: Removed mime handling (now in mod_httpserver). Unknown dynamic content is now always served as text/html. 16 years ago
Paul Aurich a5dcc1d8c6 Disable SSLv2 by default, it's known to be insecure. 16 years ago
Paul Aurich d92cd1e697 Disable SSLv2 by default, it's known to be insecure. 16 years ago
Matthew Wild 7fa0954aaf net.httpserver: Fix to work with new server API 16 years ago
Matthew Wild b74d2847c0 net.httpserver: Quick fix to set the correct Content-Type on simple (string) responses, for a few known types 16 years ago
Matthew Wild abb55058b0 net.httpserver: Quick fix to set the correct Content-Type on simple (string) responses, for a few known types 16 years ago
Matthew Wild 54d5d4f69d net.httpserver, net.http: Update for new net.server API (untested) 16 years ago
Matthew Wild c103c2bb6b net.httpserver: More robust handling of headers split across multiple packets 16 years ago
Matthew Wild e79181eab3 net.httpserver: Make it possible to return responses with no body 16 years ago
Matthew Wild 4c3707ec7b net.httpserver: Close connection on invalid HTTP status line 16 years ago
Matthew Wild 18ecc84111 net.httpserver: Pass correct connection object to disconnect listener, which fixes a small leak 16 years ago
Matthew Wild d4b704023a net.httpserver: Pass on interface option from new_from_config() (thanks Chris) 16 years ago
Matthew Wild 6265a85de2 net.httpserver: Allow modules registering to provide more than just a default path when using httpserver.new_from_config 16 years ago
Matthew Wild 322ae8a3c5 net.httpserver: Allow overriding default request handler 17 years ago