1<testcase> 2<info> 3<keywords> 4WebSockets 5</keywords> 6</info> 7 8# 9# Sends three 4097 bytes TEXT frames, as one single message 10<reply> 11<data nocheck="yes"> 12HTTP/1.1 101 Switching to WebSockets 13Server: test-server/fake 14Upgrade: websocket 15Connection: Upgrade 16Something: else 17Sec-WebSocket-Accept: HkPsVga7+8LuxM4RGQ5p9tZHeYs= 18 19%hex[%01%7e%10%01]hex%%repeat[256 x helothisisdaniel]% 20%hex[%01%7e%10%01]hex%%repeat[256 x helothisisdaniel]% 21%hex[%81%7e%10%01]hex%%repeat[256 x helothisisdaniel]% 22</data> 23# allow upgrade 24<servercmd> 25upgrade 26</servercmd> 27</reply> 28 29# 30# Client-side 31<client> 32# require debug for the forced CURL_ENTROPY 33<features> 34Debug 35ws 36</features> 37<server> 38http 39</server> 40<name> 41WebSocket curl_ws_recv() loop reading three larger frames 42</name> 43<tool> 44lib%TESTNUMBER 45</tool> 46<command> 47ws://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/save%TESTNUMBER 48</command> 49</client> 50 51# 52<verify> 53<file name="%LOGDIR/save%TESTNUMBER" mode="text"> 54%repeat[256 x helothisisdaniel]% 55%repeat[256 x helothisisdaniel]% 56%repeat[256 x helothisisdaniel]% 57</file> 58</verify> 59</testcase> 60