[ 
https://issues.apache.org/jira/browse/TS-4882?focusedWorklogId=29573&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-29573
 ]

ASF GitHub Bot logged work on TS-4882:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Sep/16 02:29
            Start Date: 23/Sep/16 02:29
    Worklog Time Spent: 10m 
      Work Description: Github user SolidWallOfCode commented on a diff in the 
pull request:

    https://github.com/apache/trafficserver/pull/1036#discussion_r80172788
  
    --- Diff: iocore/net/BIO_fastopen.h ---
    @@ -0,0 +1,38 @@
    +/** @file
    + *
    + *  OpenSSL socket BIO that does TCP Fast Open.
    + *
    + *  @section license License
    + *
    + *  Licensed to the Apache Software Foundation (ASF) under one
    + *  or more contributor license agreements.  See the NOTICE file
    + *  distributed with this work for additional information
    + *  regarding copyright ownership.  The ASF licenses this file
    + *  to you under the Apache License, Version 2.0 (the
    + *  "License"); you may not use this file except in compliance
    + *  with the License.  You may obtain a copy of the License at
    + *
    + *      http://www.apache.org/licenses/LICENSE-2.0
    + *
    + *  Unless required by applicable law or agreed to in writing, software
    + *  distributed under the License is distributed on an "AS IS" BASIS,
    + *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
    + *  See the License for the specific language governing permissions and
    + *  limitations under the License.
    + */
    +
    +#ifndef BIO_FASTOPEN_H_DA87E080_DB75_4C9C_959A_40243592D454
    +#define BIO_FASTOPEN_H_DA87E080_DB75_4C9C_959A_40243592D454
    +
    +#include <openssl/bio.h>
    +
    +// Return a BIO_METHOD for a socket BIO that implements TCP Fast Open.
    +const BIO_METHOD *BIO_s_fastopen();
    +
    +// OpenSSL 1.0.2h has BIO_set_conn_ip(), but master has 
BIO_set_conn_address(). Use
    +// the API from master since it makes more sense.
    +#if !defined(BIO_set_conn_address)
    +#define BIO_set_conn_address(b, addr) BIO_ctrl(b, BIO_C_SET_CONNECT, 2, 
(char *)addr)
    --- End diff --
    
    We're using C++, perhaps an inline function instead of `#define`?


Issue Time Tracking
-------------------

    Worklog Id:     (was: 29573)
    Time Spent: 3h 10m  (was: 3h)

> TCP Fast Open support for SSL server sessions.
> ----------------------------------------------
>
>                 Key: TS-4882
>                 URL: https://issues.apache.org/jira/browse/TS-4882
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core, SSL
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 7.1.0
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> Add support for using TCP Fast Open on TLS server sessions. This is mainly 
> interesting for CONNECT tunnels where we can't use long running persistent 
> sessions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to