cosmopolitan/tool/build
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
..
emubin Improve dead code elimination 2021-02-08 04:04:42 -08:00
emucrt Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
lib Add SSL to redbean 2021-06-24 13:20:50 -07:00
ar.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
blinkenlights.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
build.mk Improve build system 2021-02-19 23:03:34 -08:00
calculator.c Set errno when out of range in strtoimax (#111) 2021-03-07 14:38:56 -08:00
calculator.ctest Set errno when out of range in strtoimax (#111) 2021-03-07 14:38:56 -08:00
calculator.inc Add SSL to redbean 2021-06-24 13:20:50 -07:00
compile.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
deltaify.c Add HTTP/HTTPS Fetch() API to redbean 2021-07-07 21:44:27 -07:00
dis.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
dropcache.c Change license 2020-12-27 17:18:44 -08:00
helpop.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
lz4toasm.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
mkdeps.c Improve backwards compatibility with GNU Make 2021-05-02 07:48:59 -07:00
package.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
pstrace.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
refactor.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
rle.c Change license 2020-12-27 17:18:44 -08:00
rollup.c Change license 2020-12-27 17:18:44 -08:00
runit.c Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
runit.h Initial import 2020-06-15 07:18:57 -07:00
runitd.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
summy.c Change license 2020-12-27 17:18:44 -08:00
tinyemu.c Fix our remarkable 184kb x86_64 emulator 2021-01-27 20:02:23 -08:00
x86combos.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
zipobj.c Mold the redbean binary to minimize page faults 2021-05-03 12:14:13 -07:00