diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-04-18 11:02:49 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-04-18 11:02:49 -0700 |
commit | bd58d18a2308ae5b53a6f5df1e67203739396d8f (patch) | |
tree | 3c3dbb040071cd35adb2a2f7f7f795600feb46c6 /html/092socket.mu.html | |
parent | d6ae00788a2910e16313e8d83906dd4a52cabd43 (diff) | |
download | mu-bd58d18a2308ae5b53a6f5df1e67203739396d8f.tar.gz |
3829
Diffstat (limited to 'html/092socket.mu.html')
-rw-r--r-- | html/092socket.mu.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/092socket.mu.html b/html/092socket.mu.html index fa91f366..fc6e3b0f 100644 --- a/html/092socket.mu.html +++ b/html/092socket.mu.html @@ -69,7 +69,7 @@ if ('onhashchange' in window) { <span id="L7" class="LineNr"> 7 </span> <span class="Comment"># that way repeatedly running the test will give ports time to timeout and</span> <span id="L8" class="LineNr"> 8 </span> <span class="Comment"># close before reusing them</span> <span id="L9" class="LineNr"> 9 </span> make-random-nondeterministic -<span id="L10" class="LineNr"> 10 </span> port:num <span class="Special"><-</span> <a href='068random.mu.html#L57'>random-in-range</a> <span class="Constant">0/real-random-numbers</span>,<span class="Constant"> 8000</span>,<span class="Constant"> 8100</span> +<span id="L10" class="LineNr"> 10 </span> port:num <span class="Special"><-</span> <a href='068random.mu.html#L58'>random-in-range</a> <span class="Constant">0/real-random-numbers</span>,<span class="Constant"> 8000</span>,<span class="Constant"> 8100</span> <span id="L11" class="LineNr"> 11 </span> run [ <span id="L12" class="LineNr"> 12 </span> <span class="Conceal">¦</span> socket:num <span class="Special"><-</span> $open-server-socket port <span id="L13" class="LineNr"> 13 </span> <span class="Conceal">¦</span> assert socket, <span class="Constant">[ </span> @@ -146,7 +146,7 @@ if ('onhashchange' in window) { <span id="L84" class="LineNr"> 84 </span> host:text, path:text <span class="Special"><-</span> <a href='092socket.mu.html#L148'>split-at</a> uri, <span class="Constant">47/slash</span> <span id="L85" class="LineNr"> 85 </span> socket:num <span class="Special"><-</span> $open-client-socket host, port <span id="L86" class="LineNr"> 86 </span> assert socket, <span class="Constant">[contents]</span> -<span id="L87" class="LineNr"> 87 </span> req:text <span class="Special"><-</span> <a href='061text.mu.html#L506'>interpolate</a> <span class="Constant">[GET _ HTTP/1.1]</span>, path +<span id="L87" class="LineNr"> 87 </span> req:text <span class="Special"><-</span> <a href='061text.mu.html#L505'>interpolate</a> <span class="Constant">[GET _ HTTP/1.1]</span>, path <span id="L88" class="LineNr"> 88 </span> <a href='092socket.mu.html#L93'>request-socket</a> socket, req <span id="L89" class="LineNr"> 89 </span> contents:&:source:char, sink:&:sink:char <span class="Special"><-</span> <a href='075channel.mu.html#L51'>new-channel</a><span class="Constant"> 10000</span> <span id="L90" class="LineNr"> 90 </span> start-running <a href='092socket.mu.html#L125'>receive-from-client-socket-and-close</a> socket, sink @@ -220,8 +220,8 @@ if ('onhashchange' in window) { <span id="L158" class="LineNr">158 </span> <span class="Conceal">¦</span> <span class="muControl">return</span> <span id="L159" class="LineNr">159 </span> <span class="Delimiter">}</span> <span id="L160" class="LineNr">160 </span> idx:num <span class="Special"><-</span> find-next text, delim,<span class="Constant"> 0</span> -<span id="L161" class="LineNr">161 </span> x:text <span class="Special"><-</span> <a href='061text.mu.html#L1279'>copy-range</a> text,<span class="Constant"> 0</span>, idx -<span id="L162" class="LineNr">162 </span> y:text <span class="Special"><-</span> <a href='061text.mu.html#L1279'>copy-range</a> text, idx, len +<span id="L161" class="LineNr">161 </span> x:text <span class="Special"><-</span> <a href='061text.mu.html#L1278'>copy-range</a> text,<span class="Constant"> 0</span>, idx +<span id="L162" class="LineNr">162 </span> y:text <span class="Special"><-</span> <a href='061text.mu.html#L1278'>copy-range</a> text, idx, len <span id="L163" class="LineNr">163 </span>] <span id="L164" class="LineNr">164 </span> <span id="L165" class="LineNr">165 </span><span class="muScenario">scenario</span> text-split-at [ |