Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8AE059FE8 for ; Wed, 1 Feb 2012 20:59:51 +0000 (UTC) Received: (qmail 46942 invoked by uid 500); 1 Feb 2012 20:59:50 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 46886 invoked by uid 500); 1 Feb 2012 20:59:50 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 46877 invoked by uid 99); 1 Feb 2012 20:59:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 20:59:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of costin@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-tul01m020-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 20:59:43 +0000 Received: by obbup16 with SMTP id up16so2524311obb.18 for ; Wed, 01 Feb 2012 12:59:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=8rguhlJBxxSa2O34qm9qO5U9fq0TcFVBV4edIQeFcDY=; b=Qb0zVmKLUgRodsZsNqL/IA9yPJh5tOPZmg3AKByoARxzlEDCccvjh+2SGxmtddMQ54 KX9sS1/b08hy89tCABEus0cz+wP1tLaBquKIzOXGyuEVQlohF+AHbjNLSYkoDkCOd0Tn 834yOfVR9SJKmAFG59CS00k651Vsz8g8Re6bY= MIME-Version: 1.0 Received: by 10.182.38.7 with SMTP id c7mr84443obk.44.1328129962720; Wed, 01 Feb 2012 12:59:22 -0800 (PST) Received: by 10.182.101.164 with HTTP; Wed, 1 Feb 2012 12:59:22 -0800 (PST) Date: Wed, 1 Feb 2012 12:59:22 -0800 Message-ID: Subject: Tomcat-native patch for NPN support From: Costin Manolache To: Tomcat Developers List Content-Type: multipart/alternative; boundary=f46d0447f28ca4be0204b7ed5a30 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0447f28ca4be0204b7ed5a30 Content-Type: text/plain; charset=UTF-8 Hi, I have a patch to the jni library, I uploaded it to github for easy commenting: https://github.com/costinm/tomcat-native/commit/5e7d4b45bfa542e4b099bfdc2bda423b9a6cc85d Please let me know if it looks ok - I included a 'cmake' build, which can generate a libtcnative.so with no external dependencies - NPN requires the latest openssl1.0.1beta2, it may be trickier to install with the normal platform dependencies. ( only tested cmake on linux64 - when new ssl gets included in more platforms it won't be needed.) Also included are some native methods for ssl session reuse ( to support distributed session cache or tickets ). ( I have a separate change to tomcat-trunk that depents on this, for spdy support ) Costin --f46d0447f28ca4be0204b7ed5a30--