[GitHub] trafficserver pull request: TS-4328

2016-04-29 Thread jacksontj
Github user jacksontj closed the pull request at: https://github.com/apache/trafficserver/pull/554 --- 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 featu

[GitHub] trafficserver pull request: TS-4328

2016-04-29 Thread jacksontj
Github user jacksontj commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-215864574 @zwoop @jpeach @SolidWallOfCode After chatting some more on IRC today, it seems the people are quite against the milestones approach-- so I've changed this patc

[GitHub] trafficserver pull request: TS-4328

2016-04-26 Thread sudheerv
Github user sudheerv commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-214694979 Oh, in any case, I haven't really checked carefully, but I actually wonder if the milestone (server begin write) in question here is reset for "each" server leg

[GitHub] trafficserver pull request: TS-4328

2016-04-26 Thread sudheerv
Github user sudheerv commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-214693606 The problem is that you are trying to "mix" the internals of a completely independent/different feature to use for an unrelated/unintended purposes. This sets a

[GitHub] trafficserver pull request: TS-4328

2016-04-25 Thread jacksontj
Github user jacksontj commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-214621535 Well, I'm not sure that I agree it violates the encapsulation-- since its effectively a variable that tracks timings (which are only set in specific states in t

[GitHub] trafficserver pull request: TS-4328

2016-04-25 Thread zwoop
Github user zwoop commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-214505724 It's unfortunate because it couple internal state in the SM to the milestones, which are timing events. This means, changes to the milestones could have bad effects

[GitHub] trafficserver pull request: TS-4328

2016-04-25 Thread jacksontj
Github user jacksontj commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-214491833 Can you guys expand on the concern with using milestones for this? I can easily add another bool to the state machine (or change the `request_body_start` to `re

[GitHub] trafficserver pull request: TS-4328

2016-04-25 Thread JamesPeach
Github user JamesPeach commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-214490389 As per IRC discussion with @zwoop and @bryancall, I think we should find a way to not use the milestones to track the state transition. --- If your project is

[GitHub] trafficserver pull request: TS-4328

2016-04-08 Thread jacksontj
Github user jacksontj commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-207539560 After chatting with @jpeach we agree on the goal here (to not retry if bytes were sent on the wire). I have updated the PR to include comments attempting to exp

[GitHub] trafficserver pull request: TS-4328

2016-04-07 Thread jpeach
Github user jpeach commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-207223148 I looked at this for a while and I'm not convinced that it doesn't have unindented side-effects. ``is_request_retryable`` is only set once POST data is getting sen

[GitHub] trafficserver pull request: TS-4328

2016-04-06 Thread bgaff
Github user bgaff commented on the pull request: https://github.com/apache/trafficserver/pull/554#issuecomment-206675022 I did the original fix for this bug and this missed case definitely makes sense. I'm :+1: with the fix. The only thing that looks a little weird is using milestones