Hi, I need to do this kind of plugin to my server. It's a private plugin or I could share the code with us ? I'm really interested in looking it. Thanks.
Best Regards, Bob 2013/4/16 Leif Hedstrom <zw...@apache.org> > On 4/16/13 9:09 AM, Yongming Zhao wrote: > >> the default =2 is set to threading session sharing, that is consider to >> be better performance, and set to =1 is using the global session pool, that >> is not that bad unless you can tell that the performance is noticeable, in >> some case, the global session pool is much safer :D >> >> BTW, that is a problem we should fix, I think TS-1590 as the same type of >> failure. >> > > Ah, great. Please update TS-1590 with this information, I'll mark that one > for v3.3.3. This needs to be fixed for v3.4 IMO (and yes, blame me! :-). > > Cheers, > > -- Leif > > >> 在 2013-4-16,下午4:41,오재경 <genex...@gmail.com <mailto:genex...@gmail.com>> >> 写道: >> >> >> sorry. i forgot to write the title.. >>> >>> hi everyone. >>> >>> I made a plugin. it calls TSHttpConnect and download a contents when it >>> meets a range request. as you know, ats doesn't cache partial request. >>> that's why i made the plugin to trigger full download for a range request. >>> >>> proxy.config.http.share_**server_sessions makes a problem. default >>> value is 2 and ATS always crash when the plugin trigger download. >>> >>> but with 1, ATS works fine with my plugin. >>> >>> i digged the source what happens when i call TSHttpConnect. >>> >>> if i set share_server_sessions 2 _acquire_session is called with ethread >>> parameter. if 1 _acquire_session is called with global bucket. >>> >>> my question is ..is it ok if i set share_server_sessions 1 instead of >>> default value 2 ? >>> >>> No problem in performance? No problem in running ATS in 24/7 ? >>> >>> Thanks. >>> >> >> >