Commit Graph

31 Commits (3fc972b6c2bd4545cdcc1856b28a67bb7fdcfd1a)

Author SHA1 Message Date
Matthew Wild c2064aa2cc Fix for nil handler error after close 17 years ago
Matthew Wild f979ff5f0d server.lua: Comment out unnecessary or very verbose logging, and log the rest as debug level 17 years ago
Matthew Wild 75126c8d05 server.lua: Use Prosody logger for errors, silence non-errors 17 years ago
Matthew Wild c0dbcb4389 Port to new server.lua, quite some changes, but I believe everything to be working 17 years ago
Matthew Wild cdc8bc0117 Fixed server.lua to use prosody logger for errors 17 years ago
Matthew Wild b12f8a8177 Remove some debugging code that slipped in 17 years ago
Matthew Wild b97b1db2a0 Fix specifying ports in config, and SSL support 17 years ago
Matthew Wild 89eb3c5d00 Remove logging for server.lua 17 years ago
Matthew Wild b922b642ef Fix data loss when closing connection with a large write queue. Thanks albert :) 17 years ago
Matthew Wild f0b2f41771 Make wraptcpclient set timeout to 0, and add it to the list of exported functions from server.lua 17 years ago
Matthew Wild 1142f30838 Remove old commented code from server.lua 17 years ago
Matthew Wild d9173986d5 Re-commit TLS fix 17 years ago
Matthew Wild c016526d9d Backed out changeset 099d8a102deb (committed too much) 17 years ago
Matthew Wild b2afc52730 Don't say we need TLS after we've already started the handshake 17 years ago
Matthew Wild 0d2b952b61 Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections 17 years ago
Matthew Wild 32371bbb23 Comment out debug logging for now 17 years ago
Matthew Wild f334846311 Remove linger option on sockets, made no difference, and I forgot to remove it earlier 17 years ago
Matthew Wild 00fd43edfd Fix GPL'ing MIT/X licensed code :) 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Matthew Wild 94e7638395 All the people who don't use TLS, this one's for you. 17 years ago
Matthew Wild 49e7fdc364 Fix to prevent send retry when connection is already closed 17 years ago
Matthew Wild 3ac3b3bc2d Flush write queue before closing socket 17 years ago
Matthew Wild d3497ccf48 Fix for putting TLS in stream:features for connections already using TLS. Thanks to albert for spotting. 17 years ago
Matthew Wild ce86d8badc Initial s2s stuff 17 years ago
Matthew Wild d510d54b28 server.lua should degrade gracefully when LuaSec not present 17 years ago
Matthew Wild 9ab2e330c2 Remove debugging output from when doing TLS 18 years ago
Matthew Wild 0c9336110d Working TLS! 18 years ago
Matthew Wild ab40a27df1 TLS: Handshake works, no data after that 18 years ago
Matthew Wild 11883a5b0b Convert spaces->tabs 18 years ago
Matthew Wild 0dadc00f7e Moved server module to net/ 18 years ago
Tobias Markmann 916f6b6b3a remaned _ to sock to improve readability 18 years ago
matthew 5ea14b6295 Added all the files to please hg :/ 18 years ago
matthew 78739d9638 Switched to new connection framework, courtesy of the luadch project 18 years ago