/filament

HTTP server + reactor + fiber loop handler

Primary LanguageC

Filament

  • Reactor + IO.select based demuxer
  • Event handler base class using Fibers
  • HTTP server

To do

HTTP

  • Rack interface (How does rack handle posts payload?)
  • Correct POST / GET payload handling.
  • Support for chunked encoding.

Code

  • MRB gem.
  • Perhaps split into separate gems.

Sockets

  • Learn about socket options.
  • Check correct connection handling with tcpdump.

Dependencies

Links & resources

MRuby

  • Mgem list - A list of all GEMs for mruby to be managed by mgem
  • katzer/mruby-logger - A simple but sophisticated logging utility that you can use to output messages

Sockets

Reactor

HTTP

Fibers