Commit Graph

50 Commits (b35bf3760e750fa55ea3ad5d4e97c59ba2eda9a1)

Author SHA1 Message Date
Matthew Wild c017eb2325 net.server: Add getserver() method to find the server listening on the specified port 17 years ago
Matthew Wild e9921f5497 net.server: Fix global access/incorrect parameter 17 years ago
Matthew Wild bbd191b78e net.server: Fix incorrect parameter passing 17 years ago
Matthew Wild e081895191 net.server: Fix global access 17 years ago
Matthew Wild 430114cd5a net.server: Fix potential nil handler usage 17 years ago
Matthew Wild f6cf549599 net.server: Simple logging fix 17 years ago
Matthew Wild cdd063f516 net.server: Remove some debug code which slipped through 17 years ago
Matthew Wild 25de4549ed net.server: Add server.setquitting() to gracefully quit the socket loop 17 years ago
Matthew Wild b1acfe581f net.server: Ensure some logging parameters are strings 17 years ago
Matthew Wild a40ad27d1e net.server: Allow replacement of send function on an open socket 17 years ago
Matthew Wild 6a5be71308 net.server: Don't call shutdown method on socket if it doesn't have one, eg. for UDP 17 years ago
Matthew Wild 898101d2d8 net.server: Check for potential nil handler on close 17 years ago
Matthew Wild 0a2936fb0f net.server: Fix to make sure we send a string to logging function 17 years ago
Matthew Wild fffdba514a net.server: Don't retry if client closes socket during SSL handshaking 17 years ago
Matthew Wild c2b54ca160 net.server: Some fixes for SSL/TLS handshake handling 17 years ago
Matthew Wild 81287473fc net.server: Fix some more potential nil handler accesses 17 years ago
Matthew Wild d74b1cd4e2 net.server: Fix nil table index assignment 17 years ago
Matthew Wild af27b13805 net.server: Fix potential fatal error in server.lua 17 years ago
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 17 years ago
Matthew Wild 0c9336110d Working TLS! 17 years ago
Matthew Wild ab40a27df1 TLS: Handshake works, no data after that 17 years ago
Matthew Wild 11883a5b0b Convert spaces->tabs 17 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