Changes:
- Added passing custom data to a request via the
data/data_lenarguments of
ezhttp_get/post/put/patch/delete, delivered to the completion callback (thanks @jonathan-up) - Added the
ezhttp_versioncvar (thanks @GLoOoccK) - FTP: URL normalization, wildcard download (download several files matching a mask,
e.g.ftp://user:pass@host/demos/hltv_demo_*.dem), and automatic creation of local
directories on download (thanks @wilianmaique) - Reworked the request lifecycle on map change, with trace logging and the
ezhttp_trace_log
cvar to toggle it (thanks @wilianmaique) ezhttp_create_optionsgained anauto_destroyparameter (defaulttrue): set it tofalse
to reuse the same options across multiple requests, and destroy them manually with
ezhttp_destroy_options(thanks @wilianmaique)- Requests submitted with a non-existent queue are now rejected (return id 0) instead of
silently falling back to the main queue (thanks @wilianmaique) - Added binary data support (application/octet-stream): new natives
ezhttp_option_set_body_binary,
ezhttp_option_append_body_binaryandezhttp_get_data_binary; embedded null bytes are preserved
Build:
- Added a Dockerfile for building the module (thanks @Psycrow101)
- Added noexecstack flags for glibc 2.41+ compatibility
Requirements for linux:
- GLIBC 2.19 or higher