Permalink
Browse files

protocol 0.1: cookies are required on 404 response in for a session

  • Loading branch information...
1 parent c988f7d commit 2def8b461300b5b182446b2849c324f107b82dfb @majek majek committed Oct 27, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/sockjs_filters.erl
@@ -59,7 +59,8 @@ handle_req(Req, Path, Dispatcher) ->
sockjs_filters:Action(Req1, Headers, Server, SessionId,
Receive)
catch throw:no_session ->
- sockjs_http:reply(404, [], "", Req1)
+ H = h_sid(Req1, [], Server, SessionId),
+ sockjs_http:reply(404, H, "", Req1)
end
end;
nomatch ->

0 comments on commit 2def8b4

Please sign in to comment.