Re: TSHttpHookAdd() thread safety

2018-12-13 Thread xuchao@Gmail
yes! The TSHttpHookAdd() should _only_ and _always_ be called from TSPluginInit() or TSRemapInit(). - oknet 发自我的 iPhone > 在 2018年12月13日,23:42,Walt Karas 写道: > > TSHttpHookAdd() should _only_ be > called from TSPluginInit() or TSRemapInit().

Re: Crash - looks like 1765 -

2018-07-06 Thread xuchao@Gmail
I'm try to fix the TVC double close bug with https://github.com/apache/trafficserver/pull/1765 . But the PR#1765 does not fix it and makes new crash. The 2nd solution to fix the issue https://github.com/apache/trafficserver/pull/2907 . That's all about the bug. - oknet xu 发自我的 iPhone > 在 20

Re: Talk about the QUICNetVConnection

2017-11-01 Thread xuchao@Gmail
Yes, it is my honor. :-) - Oknet > 在 2017年11月2日,05:11,Leif Hedstrom 写道: > > > >> On Oct 31, 2017, at 4:38 AM, Chao Xu wrote: >> >> With PR #2719 : http://people.apache.org/~oknet/quic_and_udp.2017103118.png >> > > > You’re a machine! We need to get these diagrams into our documentation,

Re: Question about TransformTerminus::handle_event()

2017-03-30 Thread xuchao@Gmail
hi amc, Please consider there is 2 or more transformation plugins since the plugin does not knows how many transform here. If the 1st plugin perform TSVConnClose(output vc), the 2nd plugin will destroy itself. And the m_output_vc in the 1st plugin is not set to NULL. Then, if HttpSM or HttpTun