Software /
code /
verse
File
libs/net.lua @ 496:c4ae7aa2958a
util.sasl.oauthbearer: Fix message syntax
Each key-value pair has a \001 trailer, and then the whole thing has a
\001 trailer as well, so it should always end with two \001.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Jun 2023 10:11:25 +0200 |
parent | 478:cf6626a12e0e |
line wrap: on
line source
return { pton = function (ip) if ip:find":" then return "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" else return "\0\0\0\0" end end }