[GitHub] trafficserver pull request #772: TS-3726: Expose build_error_response

2016-06-30 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/772 TS-3726: Expose build_error_response You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver TS-3726 Alternatively you can

[GitHub] trafficserver pull request #771: Proposal: InactivityCop Optimize

2016-06-30 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/771 Proposal: InactivityCop Optimize Optimize InactivityCop on a heavy load and high level concurrent connection system. It is set default inactivity timeout before put vc into open_list

[GitHub] trafficserver pull request #766: TS-4614: avoid e->schedule_in for dummy eve...

2016-06-29 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/766 TS-4614: avoid e->schedule_in for dummy event You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver TS-4614 Alternativ

[GitHub] trafficserver issue #701: TS-4522: check EPIPE instead r==0

2016-06-28 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/701 @shinrich I remember that SSL_write would return “SSL_WANT_READ” error code. from: https://www.openssl.org/docs/manmaster/ssl/SSL_write.html If the underlying BIO is non

[GitHub] trafficserver issue #753: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/753 @shinrich the "noisy" in UnixNetAccept, let me explain, there are 3 area to create a new netvc and init its members but disorder, I'm try to make it ordered as below

[GitHub] trafficserver pull request #753: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/753#discussion_r68782930 --- Diff: iocore/net/UnixNetAccept.cc --- @@ -443,19 +430,28 @@ NetAccept::acceptFastEvent(int event, void *ep) goto Lerror

[GitHub] trafficserver issue #752: TS-4590: INKContInternal & INKVConnInternal Optimi...

2016-06-28 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/752 @shinrich INKVConnInternal::handle_event is almost same as INKContInternal::handle_event but the INKContInternal::handle_event could handle period event callback status. They are share

[GitHub] trafficserver pull request #752: TS-4590: INKContInternal & INKVConnInternal...

2016-06-28 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/752#discussion_r68778438 --- Diff: proxy/InkAPI.cc --- @@ -1037,43 +1047,36 @@ INKVConnInternal::INKVConnInternal(TSEventFunc funcp, TSMutex mutexp) : INKContInternal

[GitHub] trafficserver pull request #673: TS-4487: fix write_to_net_io issues

2016-06-28 Thread oknet
Github user oknet closed the pull request at: https://github.com/apache/trafficserver/pull/673 --- 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

[GitHub] trafficserver issue #754: TS-4487: check the change of lock after return fro...

2016-06-28 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/754 This is a rebase version of #673 . --- 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

[GitHub] trafficserver issue #673: TS-4487: fix write_to_net_io issues

2016-06-28 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/673 @zwoop @shinrich a new PR#754 created based on the newest master branch. --- 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

[GitHub] trafficserver pull request #754: TS-4487: check the change of lock after ret...

2016-06-28 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/754 TS-4487: check the change of lock after return from wbe callback and handle (needs & EVENTIO_READ) first. You can merge this pull request into a Git repository by running: $ git

[GitHub] trafficserver issue #642: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/642 @zwoop a new PR#753 created based on the newest master branch. --- 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

[GitHub] trafficserver issue #753: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/753 This is a rebase version of #642 --- 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

[GitHub] trafficserver pull request #642: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet closed the pull request at: https://github.com/apache/trafficserver/pull/642 --- 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

[GitHub] trafficserver pull request #753: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/753#discussion_r68736872 --- Diff: iocore/net/UnixNetAccept.cc --- @@ -281,29 +280,28 @@ NetAccept::do_blocking_accept(EThread *t) return -1

[GitHub] trafficserver pull request #753: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/753#discussion_r68736720 --- Diff: iocore/net/UnixNetAccept.cc --- @@ -281,29 +280,28 @@ NetAccept::do_blocking_accept(EThread *t) return -1

[GitHub] trafficserver pull request #753: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/753#discussion_r68736528 --- Diff: iocore/net/UnixNetAccept.cc --- @@ -117,11 +117,10 @@ net_accept(NetAccept *na, void *ep, bool blockable) vc->

[GitHub] trafficserver issue #642: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/642 @zwoop a new PR#753 created based on the newest master branch. --- 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

[GitHub] trafficserver pull request #753: Proposal: NetVC Context

2016-06-28 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/753 Proposal: NetVC Context Goal 1st: In the NetVConnection, we have get_local_addr() and get_remote_addr() method. Also have members local_addr, remote_addr and netvc->con.a

[GitHub] trafficserver pull request #642: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/642#discussion_r68717045 --- Diff: iocore/net/UnixNetAccept.cc --- @@ -277,14 +277,12 @@ NetAccept::do_blocking_accept(EThread *t) vc->options.packet_mark = packet_m

[GitHub] trafficserver pull request #642: Proposal: NetVC Context

2016-06-28 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/642#discussion_r68715180 --- Diff: proxy/InkAPI.cc --- @@ -6249,12 +6249,12 @@ TSVConnFdCreate(int fd) vc->action_ = &a; vc->id = net_next_connect

[GitHub] trafficserver pull request #752: TS-4590: INKContInternal & INKVConnInternal...

2016-06-28 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/752 TS-4590: INKContInternal & INKVConnInternal Optimize You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver TS-

[GitHub] trafficserver issue #642: Proposal: NetVC Context

2016-06-27 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/642 @zwoop I will create another PR and rebase on the newest master branch. --- 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

[GitHub] trafficserver pull request #665: TS-4483: NetAccept & SSLNetAccept Optimize,...

2016-06-22 Thread oknet
Github user oknet closed the pull request at: https://github.com/apache/trafficserver/pull/665 --- 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

[GitHub] trafficserver issue #665: TS-4483: NetAccept & SSLNetAccept Optimize, replac...

2016-06-22 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/665 @jpeach create a new PR#734 base on master. --- 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

[GitHub] trafficserver pull request #734: TS-4483: NetAccept & SSLNetAccept optimize,...

2016-06-22 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/734 TS-4483: NetAccept & SSLNetAccept optimize, replace getEtype() with m… …ember etype. You can merge this pull request into a Git repository by running: $ git pull https://github

[GitHub] trafficserver pull request #718: TS-4543: Fix core in HttpSM::tunnel_handler...

2016-06-21 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/718#discussion_r67817437 --- Diff: proxy/http/HttpSM.cc --- @@ -2722,7 +2722,10 @@ HttpSM::tunnel_handler_post(int event, void *data) { STATE_ENTER(&Ht

[GitHub] trafficserver pull request #718: TS-4543: Fix core in HttpSM::tunnel_handler...

2016-06-21 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/718#discussion_r67816840 --- Diff: proxy/http/HttpSM.cc --- @@ -2841,9 +2844,9 @@ HttpSM::tunnel_handler_push(int event, void *data) ink_assert(data == &tu

[GitHub] trafficserver issue #701: TS-4522: check EPIPE instead r==0

2016-06-14 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/701 I'm try do some test and get result below: ECONNRESET from write() while get TCP_RST from peer. EPIPE from write() while get TCP_FIN from peer. SSLNetVConne

[GitHub] trafficserver issue #701: TS-4522: check EPIPE instead r==0

2016-06-12 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/701 @jpeach ECONNRESET is only found in man 2 send/sendto/sendmsg. obviously EPIPE for write() the same as ECONNRESET for send()/sendto()/sendmsg(). And write() is called in load_buffer_and_write

[GitHub] trafficserver issue #701: TS-4522: check EPIPE instead r==0

2016-06-12 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/701 @jpeach VC_EVENT_EOS indicates socket fd is closed. VC_EVENT_ERROR means meet a error and can not going on. Looking around the comment on I_VConnection.h about do_io_read and do_io_write

[GitHub] trafficserver pull request #701: TS-4522: check EPIPE instead r==0

2016-06-12 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/701 TS-4522: check EPIPE instead r==0 man 2 write, Return value, On Success, the number of bytes written is returned (zero indicates nothing was written). On error, -1 is returned, and errno is

[GitHub] trafficserver issue #700: TS-4488: fix Segmentation fault at HttpSM::tunnel_...

2016-06-12 Thread oknet
Github user oknet commented on the issue: https://github.com/apache/trafficserver/pull/700 maybe should add EPIPE check? ``` if (!r || r == -ECONNRESET || r == -EPIPE) { // SIGPIPE when write on a closed fd. vc->write.triggered = 0; write_signal_d

[GitHub] trafficserver pull request: TS-4487: fix write_to_net_io issues

2016-05-30 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/673#issuecomment-222517497 Due to the #629 already merged, I will update the patch to fit it. --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] trafficserver pull request: TS-4487: fix write_to_net_io issues

2016-05-28 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/673#issuecomment-222300709 vote on PR #629, but the 2nd issue: did not check the change of lock after return from wbe callback, not included. --- If your project is set up for it, you can

[GitHub] trafficserver pull request: TS-4309: Simplify read/write loops to ...

2016-05-28 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/629#discussion_r64986856 --- Diff: iocore/net/SSLNetVConnection.cc --- @@ -193,131 +193,121 @@ ssl_read_from_net(SSLNetVConnection *sslvc, EThread *lthread, int64_t &

[GitHub] trafficserver pull request: TS-4487: fix write_to_net_io issues

2016-05-27 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/673 TS-4487: fix write_to_net_io issues You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver patch-13 Alternatively you can

[GitHub] trafficserver pull request: TS-4483: NetAccept & SSLNetAccept Opti...

2016-05-25 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/665#issuecomment-22179 @shinrich ET_SSL is still here. SSLNetAccept::etype is set to ET_SSL by sslNetProcessor::upgradeEtype(). --- If your project is set up for it, you can reply to

[GitHub] trafficserver pull request: NetAccept & SSLNetAccept Optimize, rep...

2016-05-25 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/665#issuecomment-221612012 Sorry, forget to create it, please link to TS-4483. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well

[GitHub] trafficserver pull request: NetAccept & SSLNetAccept Optimize, rep...

2016-05-25 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/665 NetAccept & SSLNetAccept Optimize, replace getEtype() with member etype. You can merge this pull request into a Git repository by running: $ git pull https://github.com/o

[GitHub] trafficserver pull request: TS-4072 Diagnostic log rolling races

2016-05-18 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/568#discussion_r63826235 --- Diff: lib/ts/Diags.cc --- @@ -625,11 +625,14 @@ Diags::should_roll_diagslog() fflush(diags_log->m_fp); if (diags_log-&g

[GitHub] trafficserver pull request: TS-4455: remove isEosRcvd() and eosRcv...

2016-05-18 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/646 TS-4455: remove isEosRcvd() and eosRcvd You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver patch-12 Alternatively you

[GitHub] trafficserver pull request: Proposal: NetVC Context

2016-05-18 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/642#issuecomment-219947645 review the code again, the variable name 'server_addr' confuse me. now, I'm using get_remote_addr() to replace server_addr and remote get

[GitHub] trafficserver pull request: Proposal: NetVC Context

2016-05-17 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/642#issuecomment-219936052 @SolidWallOfCode get_server_addr() and get_client_addr() is wrapper functions only. the wrapper function get_server_addr() is used to decide which

[GitHub] trafficserver pull request: Proposal: NetVC Context

2016-05-17 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/642#issuecomment-219642314 Currently, get_server_addr() and get_client_addr() implement as wrapper functions to call get_local_addr() and get_remote_addr() depend on netvc context. It is

[GitHub] trafficserver pull request: Proposal: NetVC Context

2016-05-16 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/642#issuecomment-219613493 @SolidWallOfCode Let me explain it. In the Client<-->ATS side, client_addr is Client IP Address and server_addr is ATS service IP Address. In the other side

[GitHub] trafficserver pull request: Proposal: NetVC Context

2016-05-16 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/642 Proposal: NetVC Context In the NetVConnection, we have get_local_addr() and get_remote_addr() method. Also have members local_addr, remote_addr and netvc->con.addr. Thus,

[GitHub] trafficserver pull request: TS-4432: TSVConnFdCreate, double free ...

2016-05-10 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/625#issuecomment-218362265 int UnixNetVConnection::connectUp(EThread *t, int fd) { int res; thread = t; if (check_net_throttle(CONNECT, submit_time

[GitHub] trafficserver pull request: TS4433: Did not consider NULL return f...

2016-05-10 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/626 TS4433: Did not consider NULL return from TSVConnFdCreate example plugin: intercept Did not consider NULL return from TSVConnFdCreate only do a check on connect. You can merge this pull

[GitHub] trafficserver pull request: TS-4432: TSVConnFdCreate, double free ...

2016-05-10 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/625 TS-4432: TSVConnFdCreate, double free on connectUp failure You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver patch-9

[GitHub] trafficserver pull request: TS-4055: InactivityCop callback SM wit...

2016-04-21 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/373#issuecomment-212809087 @shinrich I'm closed the PR, but github show me "but the oknet:patch-1 branch has unmerged commits". --- If your project is set up for it, you ca

[GitHub] trafficserver pull request: TS-4055: InactivityCop callback SM wit...

2016-04-21 Thread oknet
Github user oknet closed the pull request at: https://github.com/apache/trafficserver/pull/373 --- 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

[GitHub] trafficserver pull request: TS-4203: Multiple PD init/alloc in Pol...

2016-02-14 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/478 TS-4203: Multiple PD init/alloc in PollCont & setupPollDescriptor You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficse

[GitHub] trafficserver pull request: TS-4202: missing define _HTTP_CONNECTI...

2016-02-14 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/477 TS-4202: missing define _HTTP_CONNECTION_COUNT_H_ You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver patch-6

[GitHub] trafficserver pull request: TS-4201: call cont->handleEvent with O...

2016-02-14 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/476 TS-4201: call cont->handleEvent with OneWayTunnel object You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver patc

[GitHub] trafficserver pull request: TS-4104: return 1 on a new ticket crea...

2016-01-16 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/400#issuecomment-172295039 my baseOS is Debian 7.8,but the openssl upgraded to 1.0.2d with testing --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] trafficserver pull request: TS-4104: return 1 on a new ticket crea...

2016-01-13 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/400#issuecomment-171212463 @bryancall the traffic.out log for current ATS release: [Dec 28 21:01:12.742] Server {0x2b052fe4b700} DEBUG: (ssl) create ticket for a new session

[GitHub] trafficserver pull request: TS-4125: wrong non-active conditions c...

2016-01-12 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/416 TS-4125: wrong non-active conditions check You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver patch-4 Alternatively you

[GitHub] trafficserver pull request: TS-4104: return 1 on a new ticket crea...

2016-01-06 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/400#issuecomment-169551690 please checking log message in the JIRA Issue TS-4104 for the different between 0 and 1. according the logs, handshake restart if return 0 or handshake

[GitHub] trafficserver pull request: TS-4104: return 1 on a new ticket crea...

2015-12-29 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/400 TS-4104: return 1 on a new ticket created ref: https://www.openssl.org/docs/manmaster/ssl/SSL_CTX_set_tlsext_ticket_key_cb.html You can merge this pull request into a Git repository by

[GitHub] trafficserver pull request: TS-4075: add a state check for sslHand...

2015-12-28 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/374#discussion_r48522460 --- Diff: iocore/net/SSLNetVConnection.cc --- @@ -1095,6 +1105,12 @@ SSLNetVConnection::sslServerHandShakeEvent(int &

[GitHub] trafficserver pull request: TS-4075: add a state check for sslHand...

2015-12-24 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/374#discussion_r48413673 --- Diff: iocore/net/SSLNetVConnection.cc --- @@ -1400,10 +1416,9 @@ SSLNetVConnection::select_next_protocol(SSL *ssl, const unsigned char **out, uns

[GitHub] trafficserver pull request: TS-4055: InactivityCop callback SM wit...

2015-12-23 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/373#issuecomment-167039829 Thanks! you are right. I got a core file that show me the write_vio is NULL in gdb. Can you revert this pull request then create a new patch to set write_vio in

[GitHub] trafficserver pull request: TS-4075: add a state check for sslHand...

2015-12-14 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/374 TS-4075: add a state check for sslHandshakeHookState Add a state check for sslHandshakeHookState after PreAcceptHookState checking in sslServerHandShakeEvent(). and modify the codes in

[GitHub] trafficserver pull request: TS-4055: InactivityCop callback SM wit...

2015-12-12 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/373 TS-4055: InactivityCop callback SM with INACTIVE_TIMEOUT before NET_EVENT_OPEN for explain: on a heavy load system, HttpSM create a connection to OS. First, a TCP-SYN packet

[GitHub] trafficserver pull request: remove alloc_cache from NetAccept

2015-12-08 Thread oknet
Github user oknet commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/366#discussion_r46964787 --- Diff: iocore/net/UnixNetAccept.cc --- @@ -112,9 +106,17 @@ net_accept(NetAccept *na, void *ep, bool blockable) count = res

[GitHub] trafficserver pull request: remove alloc_cache from NetAccept

2015-12-07 Thread oknet
Github user oknet commented on the pull request: https://github.com/apache/trafficserver/pull/366#issuecomment-162803942 Answers: 1. to implement an one shot accept (like a ftp pasv mode) 2. accept_fn = net_accept, accept_fn is called from NetAccept 3. the alloc_cache

[GitHub] trafficserver pull request: remove alloc_cache from NetAccept

2015-12-07 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/366 remove alloc_cache from NetAccept remove alloc_cache from NetAccept & net_accept() to avoid mem leak on ~NetAccept(). add a condition check for vc==NULL follow allocate_vc(). You

[GitHub] trafficserver pull request: doc rst file patches

2015-04-23 Thread oknet
GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/191 doc rst file patches add missing file on ck/doc rst format You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver master