From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=-0.7 required=5.0 tests=AWL,MSGID_FROM_MTA_HEADER, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: HTTP parser C extension should be Rubinius-compatible Date: Tue, 15 Sep 2009 02:06:03 -0700 Message-ID: <20090915090603.GA26660@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253006070 17844 80.91.229.12 (15 Sep 2009 09:14:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Sep 2009 09:14:30 +0000 (UTC) To: mongrel-unicorn@rubyforge.org Original-X-From: mongrel-unicorn-bounces@rubyforge.org Tue Sep 15 11:14:23 2009 Return-path: Envelope-to: gclrug-mongrel-unicorn@m.gmane.org X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Xref: news.gmane.org gmane.comp.lang.ruby.unicorn.general:21 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1MnU77-0000FD-Eu for gclrug-mongrel-unicorn@m.gmane.org; Tue, 15 Sep 2009 11:14:17 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id C0A4518581EB; Tue, 15 Sep 2009 05:14:16 -0400 (EDT) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 6C16C18581EB for ; Tue, 15 Sep 2009 05:06:04 -0400 (EDT) Received: from localhost (user-118bg0q.cable.mindspring.com [66.133.192.26]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPSA id E63661F793; Tue, 15 Sep 2009 09:06:03 +0000 (UTC) Hi all, I've just pushed out some changes to the C HTTP parser that should make it compatible with a recent Rubinius[1] using the C API. While I got the http_parser and http_parser_ng tests to pass with the new changes, most of the other tests that use pure Ruby actually failed(!). If anybody wants to pick up where I left off (even if it's to properly report bugs to the Rubinius team), please do so. I'm not quite motivated enough to do much more myself for a variety of reasons: 1) non-(CLI|email) bug trackers scare me 2) IRC kills my concentration 3) BDD specs are weird to me[2] 4) lack of folks in need of Rubinius support *right* *now* I'm sure if more things start using/working-with Rubinius I'd be more inclined to do more, but right now we're stuck in a Catch-22... Shortlog of relevant changes pushed out to git://git.bogomips.org/unicorn tonight: Eric Wong (6): http: define OFFT2NUM macro on Rubies without it http: no-op rb_str_modify() for Rubies without it http: compile with -fPIC http: use rb_str_{update,flush} if available http: create a new string buffer on empty values Update documentation for Rubinius support status [1] tested with db612aa62cad9e5cc41a4a4be645642362029d20 [2] to be fair, Unicorn using gmake to parallelize test/unit is weird to the rest of the world, too -- Eric Wong