I have a Javalin server, the relevant code called by the endpoint looks like this:
...
if(!someFuture.isDone()){
ctx.status(102);
return;
}
Javalin hangs and does not return anything* when the HTTP status is set to anything in the 1XX
range. 2XX
, 3XX
and 4XX
are returned without any problems. I haven't been able to find anything in Javalin's documentation about this, but are 1XX
status codes not allowed by Javalin? If not, why is 102
causing this problem?
*eventually Postman registers a socket hang up