Rainbows! Rack HTTP server user/dev discussion
 help / color / Atom feed
a24d65efb615fd120493dd1d5b837a907950d516 blob 313 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(Rainbows::Client) and CL.new(io).attach(LOOP)
  end
end
debug log:

solving a24d65e ...
found a24d65e in http://bogomips.org/rainbows-public/20170402002615.GA32751@starla/
found 0d8af8c in http://bogomips.org/rainbows.git
preparing index
index prepared:
100644 0d8af8ca36c790b47874c5c6339585f682decc68	lib/rainbows/coolio/server.rb

applying [1/1] http://bogomips.org/rainbows-public/20170402002615.GA32751@starla/
diff --git a/lib/rainbows/coolio/server.rb b/lib/rainbows/coolio/server.rb
index 0d8af8c..a24d65e 100644

Checking patch lib/rainbows/coolio/server.rb...
Applied patch lib/rainbows/coolio/server.rb cleanly.

index at:
100644 a24d65efb615fd120493dd1d5b837a907950d516	lib/rainbows/coolio/server.rb

Rainbows! Rack HTTP server user/dev discussion

Archives are clonable:
	git clone --mirror http://bogomips.org/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-public

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git