Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
0d8af8ca36c790b47874c5c6339585f682decc68 blob 295 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
# -*- encoding: binary -*-
# :enddoc:
class Rainbows::Coolio::Server < Coolio::IO
  CONN = Rainbows::Coolio::CONN
  # CL and MAX will be defined in the corresponding worker loop

  def on_readable
    return if CONN.size >= MAX
    io = @_io.kgio_tryaccept and CL.new(io).attach(LOOP)
  end
end
debug log:

solving 0d8af8c ...
found 0d8af8c in https://yhbt.net/rainbows.git

Code repositories for project(s) associated with this inbox:

	../../../rainbows.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).