<div dir="ltr"><div class="gmail_quote"><div dir="ltr">I'm looking for the TLS content-types for a Handshake 0x16 and ChangeCipherSpec Record 0x14, I just chose ascii 32 because it is the first readable ascii character above these (space).</div>
<div class=""><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Dec 8, 2013 at 7:51 AM, Trac <span dir="ltr"><<a href="mailto:andy.green@linaro.org" target="_blank">andy.green@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

#51: Auto-SSL<br>
------------------------------------+-----------------<br>
<div>  Reporter:  fxmulder               |      Owner:<br>
      Type:  enhancement            |     Status:  new<br>
  Priority:  minor                  |  Milestone:<br>
 Component:  libwebsockets library  |    Version:<br>
</div>Resolution:                         |   Keywords:<br>
------------------------------------+-----------------<br>
<br>
Comment (by agreen):<br>
<br>
 Thanks for the patch... can you explain the logic for this a bit? --><br>
<br>
<br>
                 n = recv(wsi->sock, context->service_buffer,<br>
                         sizeof(context->service_buffer), MSG_PEEK);<br>
                 if (n >= 1 && context->service_buffer[0] >= 32) {<br>
<br>
 what's the idea about the first byte being >= ' ', how is that related to<br>
 whether it's SSL or not?<br>
<br>
--<br>
Ticket URL: <<a href="http://libwebsockets.org/trac/libwebsockets/ticket/51#comment:1" target="_blank">http://libwebsockets.org/trac/libwebsockets/ticket/51#comment:1</a>><br>
<div><div>libwebsockets <<a href="http://libwebsockets.org" target="_blank">http://libwebsockets.org</a>><br>
libwebsockets C library<br>
_______________________________________________<br>
Libwebsockets mailing list<br>
<a href="mailto:Libwebsockets@ml.libwebsockets.org" target="_blank">Libwebsockets@ml.libwebsockets.org</a><br>
<a href="http://ml.libwebsockets.org/mailman/listinfo/libwebsockets" target="_blank">http://ml.libwebsockets.org/mailman/listinfo/libwebsockets</a><br>
</div></div></blockquote></div><br></div>
</div></div></div><br></div>