Can spray.io can return 504 if Actor accepting Timedout message?

43 views Asked by At

My server is written using spray-can. Let's say inside the receive function I handle Timeout message like this:

case Timedout( HttpRequest(m,u,_,_,_)) =>
  sender ! HttpResponse( status = 500, entity = s"can't process $u request timedout" )

Is it possible that spray-can itself might response with 504 error ?

0

There are 0 answers