[GitHub] trafficserver issue #763: TS-4610: Fix HTTP and HTTP2 stats

2016-07-05 Thread zwoop
Github user zwoop commented on the issue: https://github.com/apache/trafficserver/pull/763 Some sort of odd race condition here maybe. If I run single requests using curl, I'm not seeing the problem. But if I blast it with "ab -c 10 -n 1" the counter permanently bumps up by 10,000

[GitHub] trafficserver issue #763: TS-4610: Fix HTTP and HTTP2 stats

2016-07-05 Thread zwoop
Github user zwoop commented on the issue: https://github.com/apache/trafficserver/pull/763 So, I tried this patch, and it does not fix the problem I'm running into, where proxy.process.http.current_active_client_connections is seemingly never decremented. I had a merge conflict, but I

[GitHub] trafficserver pull request #763: TS-4610: Fix HTTP and HTTP2 stats

2016-07-05 Thread zwoop
Github user zwoop commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/763#discussion_r69666098 --- Diff: proxy/http/HttpSM.cc --- @@ -200,7 +200,8 @@ HttpVCTable::cleanup_entry(HttpVCTableEntry *e) // Update stats switch (e->vc_typ

[GitHub] trafficserver pull request #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread zwoop
Github user zwoop commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/783#discussion_r69650806 --- Diff: proxy/http/HttpTransact.cc --- @@ -63,7 +63,12 @@ static char range_type[] = "multipart/byteranges; boundary=RANGE_SEPARATOR"; exter

[GitHub] trafficserver pull request #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread zwoop
Github user zwoop commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/783#discussion_r69649977 --- Diff: proxy/http/HttpTransact.cc --- @@ -63,7 +63,12 @@ static char range_type[] = "multipart/byteranges; boundary=RANGE_SEPARATOR"; exter

[GitHub] trafficserver pull request #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread zwoop
Github user zwoop commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/783#discussion_r69647327 --- Diff: proxy/StatPages.cc --- @@ -83,7 +83,7 @@ StatPagesManager::handle_http(Continuation *cont, HTTPHdr *header) host_len = unescapif

[GitHub] trafficserver pull request #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread jpeach
Github user jpeach commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/783#discussion_r69640431 --- Diff: proxy/StatPages.cc --- @@ -83,7 +83,7 @@ StatPagesManager::handle_http(Continuation *cont, HTTPHdr *header) host_len = unescapi

[GitHub] trafficserver pull request #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread zwoop
Github user zwoop commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/783#discussion_r69640193 --- Diff: proxy/StatPages.cc --- @@ -83,7 +83,7 @@ StatPagesManager::handle_http(Continuation *cont, HTTPHdr *header) host_len = unescapif

[GitHub] trafficserver issue #787: TS-4507: Fix SSN and TXN hook ordering.

2016-07-05 Thread jpeach
Github user jpeach commented on the issue: https://github.com/apache/trafficserver/pull/787 Is is possible to break the addditional fixes out into separate tickets and PRs? --- 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 #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread jpeach
Github user jpeach commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/783#discussion_r69635990 --- Diff: proxy/StatPages.cc --- @@ -83,7 +83,7 @@ StatPagesManager::handle_http(Continuation *cont, HTTPHdr *header) host_len = unescapi

[GitHub] trafficserver issue #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread strotyl
Github user strotyl commented on the issue: https://github.com/apache/trafficserver/pull/783 Thanks for the feedback jpeach. I've made some updates. --- 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

[GitHub] trafficserver pull request #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread jpeach
Github user jpeach commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/783#discussion_r69613350 --- Diff: proxy/StatPages.cc --- @@ -83,7 +83,7 @@ StatPagesManager::handle_http(Continuation *cont, HTTPHdr *header) host_len = unescapi

[GitHub] trafficserver pull request #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread zwoop
Github user zwoop commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/783#discussion_r69611852 --- Diff: proxy/http/HttpTransact.cc --- @@ -762,8 +762,8 @@ HttpTransact::StartRemapRequest(State *s) const char syntxt[] = "synthetic.txt";

[GitHub] trafficserver pull request #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread jpeach
Github user jpeach commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/783#discussion_r69611157 --- Diff: proxy/http/HttpTransact.cc --- @@ -762,8 +762,8 @@ HttpTransact::StartRemapRequest(State *s) const char syntxt[] = "synthetic.txt"

[GitHub] trafficserver pull request #786: TS-4396: fix number_of_redirections off-by-...

2016-07-05 Thread jpeach
Github user jpeach commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/786#discussion_r69609382 --- Diff: proxy/http/HttpSM.cc --- @@ -1954,9 +1954,7 @@ HttpSM::state_read_server_response_header(int event, void *data) t_state.api_next_acti

[GitHub] trafficserver pull request #786: TS-4396: fix number_of_redirections off-by-...

2016-07-05 Thread jpeach
Github user jpeach commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/786#discussion_r69606800 --- Diff: proxy/http/HttpSM.cc --- @@ -7618,6 +7616,8 @@ HttpSM::do_redirect() return; } + redirection_tries++; + ---

[GitHub] trafficserver issue #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread strotyl
Github user strotyl commented on the issue: https://github.com/apache/trafficserver/pull/783 OK, ready for review. --- 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 wis

[GitHub] trafficserver issue #783: TS-3816 : Replace ptr_len_cmp with memcmp

2016-07-05 Thread strotyl
Github user strotyl commented on the issue: https://github.com/apache/trafficserver/pull/783 Wait to build this. I found a problem. --- 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 featur