kcar RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: kcar@librelist.com
Subject: [ANN] kcar 0.1.1 - bytestream to Rack response converter
Date: Sun, 25 Jul 2010 00:06:22 +0000	[thread overview]
Message-ID: <20100725000622.GA21583@dcvr.yhbt.net> (raw)
In-Reply-To: <20100725000622.GA21583@dcvr.yhbt.net>

kcar features an HTTP parser that will convert a bytestream into a
3-element array suitable for use as a Rack response.  It is IO interface
agnostic, so it may be used with HTTP streams over Unix domain sockets,
regular files, FIFOs, StringIOs as well as traditional TCP sockets.

* http://bogomips.org/kcar/
* kcar@librelist.com
* git://git.bogomips.org/kcar.git

Changes:

Our handling of pipelined identity (not chunked) responses
did not properly reset our internal buffer, causing HTTP
header parsing to fail for the second response as the buffer
still contained the last part of the body from the previous
response.

There are also minor documentation updates and cleanups.

-- 
Eric Wong


           reply	other threads:[~2010-07-25  0:06 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20100725000622.GA21583@dcvr.yhbt.net>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/kcar/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100725000622.GA21583@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=kcar@librelist.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kcar.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).