cosmopolitan/test/libc/dns
Justine Tunney c89bc56f6a Add HTTP/HTTPS Fetch() API to redbean
You can now say the following in your redbean Lua code:

    status,headers,payload = Fetch("https://foo.example")

The following Lua APIs have been introduced:

  - Fetch(str) → str,{str:str},str
  - GetHttpReason(int) → str
  - GetHttpReason(int) → str
  - ProgramSslFetchVerify(bool)
  - ProgramSslClientVerify(bool)

The following flags have been introduced:

  - `-j` enables client SSL verification
  - `-k` disables Fetch() SSL verification
  - `-t INT` may now be passed a negative value for keepalive

Lua exceptions now invoke Cosmopolitan's garbage collector when
unwinding the stack. So it's now safe to use _gc() w/ Lua 𝔱𝔥𝔯𝔬𝔴

See #97
2021-07-07 21:44:27 -07:00
..
comparednsnames_test.c Make minor improvements 2021-05-15 21:53:26 -07:00
dnsheader_test.c Make minor improvements 2021-05-15 21:53:26 -07:00
dnsquestion_test.c Make minor improvements 2021-05-15 21:53:26 -07:00
parsehoststxt_test.c Add HTTP/HTTPS Fetch() API to redbean 2021-07-07 21:44:27 -07:00
parseresolvconf_test.c Make minor improvements 2021-05-15 21:53:26 -07:00
pascalifydnsname_test.c Make minor improvements 2021-05-15 21:53:26 -07:00
resolvehostsreverse_test.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
resolvehoststxt_test.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
servicestxt_test.c Improve getservbyname and getservbyport (#207) 2021-07-05 12:25:26 -07:00
test.mk Improve getservbyname and getservbyport (#207) 2021-07-05 12:25:26 -07:00