cosmopolitan/third_party/quickjs
Justine Tunney 53b9f83e1c Make redbean SSL more tunable
This change enables SSL compression. It significantly reduces the
network load of the testing infrastructure, for free, since this
revision didn't need to change any runit protocol code. However we
turn it off by default in redbean since no browsers support it.

It turns out that some TLSv1.0 clients (e.g. curl command on RHEL5) will
send an SSLv2-style ClientHello. These types of clients are usually ten+
years old and were designed to interop with servers ten years older than
them. Your redbean is now able to interop with these clients even though
redbean doesn't actually support SSLv2 or SSLv3. Please note that the -B
flag may be passed to disable this along with TLSv1.0, TLSv1.1, 3DES, &c

The following Lua APIs have been added to redbean:

  - ProgramSslCompression(bool)
  - ProgramSslCiphersuite(name:str)
  - ProgramSslPresharedKey(key:str,identity:str)

Lastly the DHE ciphersuites have been enabled. IANA recommends DHE and
with old clients like RHEL5 it's the only perfect forward secrecy they
implement.
2021-08-09 07:38:57 -07:00
..
doc Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
examples Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
tests Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
array.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
atof.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
atom.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
atomics.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
bigdecimal.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
bigint.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
byte.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
call.c Make redbean SSL more tunable 2021-08-09 07:38:57 -07:00
Changelog Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
cutils.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
cutils.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
date.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
dbuf.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
diglet.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
diglet.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
eq.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
err.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
float.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
gc.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
gen.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
internal.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
iter.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
json.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
leb128.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
leb128.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
libbf.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
libbf.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libregexp-opcode.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libregexp.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
libregexp.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode-table.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
LICENSE Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
list.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
map.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
math.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
mem.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
object.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
parse.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
prim.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
promise.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
proxy.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
qjs.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
qjsc.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
qjscalc.js Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
quickjs-atom.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs-libc.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
quickjs-libc.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs-opcode.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
quickjs.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
quickjs.mk Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
README.cosmo Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
readme.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
reflect.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
regexp.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
repl.js Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
run-test262.c Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
shape.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
str.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
strbuf.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
test262.conf Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
test262_errors.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
test262o.conf Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
test262o_errors.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
TODO Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
tok.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
typedarray.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
unicode_download.sh Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
unicode_gen.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
unicode_gen_def.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
uri.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
usage.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
VERSION Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
wut.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.