1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Andy Green c935df1e7e lejp: object indexes
This adds an optional feature LEJP_FLAG_FEAT_OBJECT_INDEXES that changes
lejp to treat { } items as indexable in ctx->i[] / ctx->ipos, since they
also can take commas.

This may break existing uses so it requires the default-off feature flag to
enable it.  The flags context field is zeroed by lejp_construct(), so any
flags should be set on ctx->flags after alling that.

There's also a flag LEJP_FLAG_LATEST available as an alias to enable any
desirable but not-backwards-compatible behaviour, including this.

Add the info to the README and adapt the unit test to do it both with and
without the FEAT_OBJECT_INDEXES flag.
2021-11-07 05:33:43 +00:00
..
core logs: migrate more to log context 2021-10-15 14:11:41 +01:00
core-net retry: handle empty retry table 2021-11-06 09:09:35 +00:00
cose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
drivers drivers: spi: avoid leaking uninitialized bits 2021-04-15 17:41:53 +01:00
event-libs sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
jose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
misc lejp: object indexes 2021-11-07 05:33:43 +00:00
plat log: cherrypick common errno to be strings 2021-10-29 20:10:52 +01:00
roles server: SO_REUSEPORT: enable with LWS_MAX_SMP > 1 2021-10-30 06:19:37 +01:00
secure-streams minimal: ss: embedded: RT595S ACM transport 2021-10-24 16:50:39 +01:00
system adns: api-test: add synthetic result parsing 2021-10-18 09:58:16 +01:00
tls openssl: remove lws_ssl_get_error_string as cruft 2021-10-29 20:10:55 +01:00
CMakeLists.txt cmake: bring tls include requirement out as PUBLIC 2021-10-28 08:12:48 +01:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries