Kim Jin Young

Results 6 comments of Kim Jin Young

@ejona86 Hello. I've deeply investigated the root cause of the `IllegalStateException` (or premature recycling behavior) and I'd like to share my findings and propose a potential fix. ### Root Cause...

After further testing, I found that updating only `writeHeaders()` is not sufficient. Even if we catch `IllegalStateException` during the header `flush()`, the container (Tomcat) may already have recycled the `Response`...

@ejona86 Thank you for the clear guidance. I took another look at the Tomcat source code, and as you suspected, there is still no explicit error signal or lifecycle flag...

@ejona86 Based on the discussion above, I’m thinking of taking this on. The approach I have in mind is to align with the target attribute filtering model used in C++:...

Thanks for the confirmation. I’ll start working on it.

I’m considering adding a unit test for updateInUseStreamsIfNeed() (with VisibleForTesting annotation) to verify its behavior on in-use state transitions. Would you prefer this test to be included in the same...