vert-x3 / issues

Apache License 2.0
36 stars 7 forks source link

Vert.x 4 RC1 HttpContext null clientRequest bug #564

Closed elfogre closed 3 years ago

elfogre commented 3 years ago

Hello!

I'm upgrading a working project from vert.x3 to vert.x4 to use your new tracing capabilities and I found a bug in web client.

We have a handler to store cache responses during DISPATCH_RESPONSE Phase. We get some info from HttpContext.clientRequest in vert.x3 without problem, but now in vert.x4 our HttpContext.clientResponse is null in DISPATCH_RESPONSE. Doc says it should be non null: only available during ClientPhase#SEND_REQUEST and after

context

Is there a condition that could set this object as null?

elfogre commented 3 years ago

Also in SEND_REQUEST phase is null.

vietj commented 3 years ago

could you provide a reproducer project ?

vietj commented 3 years ago

please provide a reproducer

vietj commented 3 years ago

no reproducer provided