Github user jablko commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/1313#discussion_r95607781
  
    --- Diff: iocore/net/BIO_fastopen.cc ---
    @@ -116,39 +108,18 @@ static long
     fastopen_ctrl(BIO *bio, int cmd, long larg, void *ptr)
     {
       switch (cmd) {
    -  case BIO_C_SET_FD:
    -    ink_assert(larg == BIO_CLOSE || larg == BIO_NOCLOSE);
    -    ink_assert(bio->num == NO_FD);
    -
    -    bio->init     = 1;
    -    bio->shutdown = larg;
    -    bio->num      = *reinterpret_cast<int *>(ptr);
    -    return 0;
    -
       case BIO_C_SET_CONNECT:
         // We only support BIO_set_conn_address(), which sets a sockaddr.
         ink_assert(larg == 2);
    -    bio->ptr = ptr;
    -    return 0;
    -
    -  // We are unbuffered so unconditionally succeed on BIO_flush().
    -  case BIO_CTRL_FLUSH:
    --- End diff --
    
    Now this case is delegated to the ordinary socket BIO:
    
    ```C
    return BIO_meth_get_ctrl(const_cast<BIO_METHOD *>(BIO_s_socket()))(bio, 
cmd, larg, ptr);
    ```
    
    Do I understand this feedback right?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to