Github user sudheerv commented on the pull request: https://github.com/apache/trafficserver/pull/237#issuecomment-117221177 The problem with that approach is that, if there was an EOS on the fd right after handshake (which I noticed seems to happen quite a bit), it is not caught immediately. I'm guessing it's coz, openSSL reuses the SSL context, a subsequent do_io_read on that ssl object (fd) seems to simply stall rather than read or return immediately with error. Also, fwiw, I did try playing with the triggered bit (even force adding the vc into the read_ready_list directly and calling net_read_io directly as well), but, somehow those didn't help. There are a bunch of disable reads enroute to the acceptor session, don't know if any of them are messing up with the read ready list.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---