Commit graph

184 commits

Author SHA1 Message Date
Matthew Wild
10f55df529 net.server_select: Fix a snippet of code that was living at the wrong indentation level 2010-07-02 17:23:17 +01:00
Matthew Wild
c900263556 net.server_select: Fix typo affecting connections with an onconnect listener that have data pending in the sendbuffer 2010-05-05 17:12:32 +01:00
Matthew Wild
a22e222865 net.server_select, net.server_event: Add server.link() to link 2 connections with an intermediate buffer of the specified size 2010-05-05 15:25:48 +01:00
Matthew Wild
3c7eb58b08 net.server_select, net.server_event: Support for ondrain listener callback for when send buffer is empty 2010-05-05 15:24:24 +01:00
Matthew Wild
242d67b43e net.server_select, net.server_event: Rename :pattern() method to :set_mode() for select backend, and add :set_mode() to event backend 2010-05-05 15:23:17 +01:00
Matthew Wild
c51d0beea7 net.server_select, net.server_event: Support for :pause() and :resume() on connections 2010-05-05 15:21:17 +01:00
Matthew Wild
6c9b44d630 net.server_select: Support for listener.onconnect 2010-04-11 01:11:42 +01:00
Matthew Wild
c802b22a8b Merge 0.6->0.7 2010-04-09 12:31:51 +01:00
Matthew Wild
46c0b8c7f9 Merge 0.6->0.7 2010-03-22 17:24:55 +00:00
Matthew Wild
c071b4638d net.server_select: Fix for traceback when a read returns an error and no data (thanks dersd) 2010-03-05 16:45:46 +00:00
Matthew Wild
70e49af539 net.server_select: Fix typo 2010-03-01 18:47:03 +00:00
Matthew Wild
9d6219b596 net.server_select: Fix calling method of some handler.close()s 2010-03-01 18:06:54 +00:00
Matthew Wild
89d2043ed8 net.server_select: Small indentation fix 2010-02-11 21:13:45 +00:00
Matthew Wild
0a2515bd97 net.server_select: Fix traceback with no LuaSec available (thanks Nolan) 2010-02-11 21:09:59 +00:00
Matthew Wild
7f10afa423 net.server_select: Only allow starttls if luasec is available (thanks Nolan) 2010-02-10 19:17:45 +00:00
Matthew Wild
66e4eb082a net.server_select: *Major* whitespace refactoring to meet Prosody's coding style guidelines, we now have tabs 2010-02-10 19:12:43 +00:00
Matthew Wild
0e63f231e1 net.server_select: listener.status -> listener.onstatus for consistency 2010-01-31 19:56:22 +00:00
Matthew Wild
9ce0027521 net.server_select: Report whether a new listener uses SSL or not in the log message 2010-01-31 16:23:38 +00:00
Matthew Wild
5c117c0f25 net.server_select: Remove startssl parameter to the client/server creation functions - passing a sslctx now indicates you want to use SSL from the start 2010-01-31 15:37:08 +00:00
Matthew Wild
4ec0f47224 net.server_{select,event}: Fail gracefully if socket doesn't have a setoption method (LuaSec issue I think) 2010-01-21 12:56:08 +00:00
Matthew Wild
38b5bebb5e net.server_select: Add conn:setoption() to set options on the socket 2010-01-12 15:15:49 +00:00
Matthew Wild
62b1c8d4dc net.server_select: Fix oops in last commit 2010-01-06 16:20:56 +00:00
Matthew Wild
f5a5f7d239 net.server_select: Allow setting the logger using server.setlogger 2010-01-06 16:16:23 +00:00
Matthew Wild
52ae20cb47 net.server_select: Add get_backend() method 2009-12-08 01:22:09 +00:00
Matthew Wild
c0780f8d84 net.server_select, net.server_event: Convert to unix line endings from Windows 2009-12-04 03:07:17 +00:00
Matthew Wild
90cf9371a5 net.server_select: Restore checks for wantread/timeout errors on receive 2009-12-03 19:18:18 +00:00
Sjoerd Simons
2c89ba5b4b net.server_select: Add a function to just lock a stream for reading 2009-12-03 16:53:58 +01:00
Matthew Wild
6ef7cc4d5a net.server_select: Make bufferlen() method return, of all things, the buffer length 2009-12-03 14:08:54 +00:00
Matthew Wild
99e33affa4 net.server_select: Fix possibility of losing data sent from a socket just before it closes (thanks Sjoerd Simons) 2009-12-03 02:28:34 +00:00
Matthew Wild
fc078849d5 net.server_select: Update conn.close() to use new connection method convention 2009-11-28 14:09:53 +00:00
Matthew Wild
9d32568d5d net.server_select: Rename server.setsend() to server.set_send() for consistency 2009-11-26 22:08:47 +00:00
Matthew Wild
24dba04dcb net.server_select: Bring up to date to new common connection API 2009-11-22 04:45:13 +00:00
Matthew Wild
f24860c37c net.server_select: Change addserver() parameters to be compatible with new standard syntax 2009-11-21 17:19:57 +00:00
Matthew Wild
7f86cfbcc0 net.server: Rename to net.server_select 2009-11-21 02:36:35 +00:00
Renamed from net/server.lua (Browse further)