Permalink
Browse files

protocol 0.1: Update chunking test

  • Loading branch information...
majek committed Oct 27, 2011
1 parent 2423565 commit c988f7d3ffba1ebe871a21fdfabf565eda386eac
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/sockjs_filters.erl
View
@@ -189,7 +189,8 @@ chunking_test(Req, Headers, _Server, _SessionId) ->
Req1 = headers(Req, Headers),
%% IE requires 2KB prelude
Prelude = list_to_binary(string:copies(" ", 2048)),
- chunking_loop(Req1, [{0, <<Prelude/binary, "h">>},
+ chunking_loop(Req1, [{0, <<"h">>},
+ {0, <<Prelude/binary, "h">>},
{5, <<"h">>},
{25, <<"h">>},
{125, <<"h">>},

0 comments on commit c988f7d

Please sign in to comment.