Re: Reporting core errors to plugins

2015-04-16 Thread James Peach
> On Apr 16, 2015, at 3:39 PM, Alan M. Carroll > wrote: > > Based on some discussions here at the summit, we would like to add the > ability for the core to report certain error conditions to plugins. We have > at least one use case where it is critical to be able to distinguish > different

Re: Reporting internal state and errors to plugins

2015-04-16 Thread Alan Carroll
A third option is to add an API and data on the HTTP state machine to store the error code. This has the issue that it's harder to have multiple conditions active. On the other hand it's not overloading some other mechanism and would be faster (by comparing number values instead of strings).

Reporting core errors to plugins

2015-04-16 Thread Alan M. Carroll
Based on some discussions here at the summit, we would like to add the ability for the core to report certain error conditions to plugins. We have at least one use case where it is critical to be able to distinguish different causes for a 502 error (origin server down, cache write lock missed, e

Reporting internal state and errors to plugins

2015-04-16 Thread Alan M. Carroll
Based on some discussions here at the summit, we would like to add the ability for the core to report certain error conditions to plugins. We have at least one use case where it is critical to be able to distinguish different causes for a 502 error (origin server down, cache write lock missed, e

[GitHub] trafficserver pull request: add redirection test

2015-04-16 Thread jacksontj
Github user jacksontj commented on the pull request: https://github.com/apache/trafficserver/pull/183#issuecomment-93805512 Can you try applying 5a367b6 to your tsqa? I think the wsgiserver I'm using right now only supports a single connection-- this should make it multithreaded and h

[GitHub] trafficserver pull request: add redirection test

2015-04-16 Thread ffcai
Github user ffcai commented on the pull request: https://github.com/apache/trafficserver/pull/183#issuecomment-93790194 I just find that the local httpbin (start with like `gunicorn httpbin:app`) acts different with http://httpbin.org. And, this test case fails for local httpbin :( .