From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: yahns-public@yhbt.net Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D3EC91F45F; Thu, 20 Nov 2014 20:45:46 +0000 (UTC) From: Eric Wong To: yahns-public@yhbt.net Cc: e@80x24.org Subject: [PATCH 0/6] misc minor updates Date: Thu, 20 Nov 2014 20:45:36 +0000 Message-Id: <1416516342-18987-1-git-send-email-e@80x24.org> X-Mailer: git-send-email 2.2.0.rc0.dirty List-Id: Most of this are minor cleanups to reduce code size. I'll probably make the sendfile dependency optional as well. Not everybody needs static file serving, and the pread-style offset-agnosticism is unlikely to be useful unless we feel the need need to implement open file caching for static files. Eric Wong (6): http_response: remove arg for Array#join remove unused client_max_header_size config config: use literal symbol array for now http_response: reduce constants for 100 responses favor Array#map! for freshly-split arrays sendfile_compat: remove dependency on pread INSTALL | 4 +--- lib/yahns/config.rb | 3 +-- lib/yahns/http_context.rb | 1 - lib/yahns/http_response.rb | 11 +++++------ lib/yahns/sendfile_compat.rb | 12 +++++------- lib/yahns/server.rb | 2 +- lib/yahns/tmpio.rb | 2 +- 7 files changed, 14 insertions(+), 21 deletions(-)