Commit Graph

820 Commits

Author SHA1 Message Date
uNetworkingAB
6b60ec986e Update ASAN test command in build workflow 2026-03-11 23:34:39 +01:00
Copilot
a423b85358 Move environment variable docs from README to TypeScript definitions (#1236)
* Initial plan

* Move environment variable docs from README to TypeScript definitions

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-11 23:32:46 +01:00
uNetworkingAB
edcd266a27 Add ASAN test execution to build workflow 2026-03-11 23:14:29 +01:00
uNetworkingAB
2c9ef41c3f Remove split-binaries job from build.yml
Removed the split-binaries job from the build workflow.
2026-03-11 22:54:24 +01:00
Copilot
e82d3566cd build.c: use C macros + string literal concatenation for ASAN flags (#1235)
* Initial plan

* Add ASAN binary builds targeting binaries-asan branch

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

* Refactor ASAN flags in build.c to use C macros and string concatenation

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-11 21:55:17 +01:00
Copilot
3d3dd051ca Revert "Add HttpResponse.writeHeaders" (#1234)
* Initial plan

* Revert "Add HttpResponse.writeHeaders"

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-11 21:18:08 +01:00
Alex Hultman
8982605b01 Update docs 2026-03-11 20:45:58 +01:00
Copilot
0305f8f21a Fix fatal V8 crash when passing undefined as App options (#1232)
* Initial plan

* Fix issue #1102: add missing check in readOptionsObject to throw exception instead of fatal error

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-11 20:43:10 +01:00
Copilot
78508e3af4 docs: document UWS_HTTP_MAX_HEADERS_SIZE and UWS_HTTP_MAX_HEADERS_COUNT (#1230)
* Initial plan

* docs: document UWS_HTTP_MAX_HEADERS_SIZE and UWS_HTTP_MAX_HEADERS_COUNT in README

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-11 20:31:35 +01:00
Copilot
af7015b40e Fix maxLifetime: 240 causing immediate WebSocket disconnection (#1231)
* Initial plan

* Fix maxLifetime: 240 causing immediate WebSocket disconnection

Cap maxLifetime at 239 in AppWrapper.h to prevent uSockets modulo
wraparound bug (240 % 240 == current timestamp => instant timeout).
Also clamp to non-negative values. Update TypeScript docs to document
valid range as 0 | 1-239.

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-11 20:30:48 +01:00
Igor Lins e Silva
087ebf8a98 types: add AppDescriptor type and methods for worker threads (#1131)
Added:
- AppDescriptor interface as a native type (similar to us_listen_socket)
- Methods on TemplatedApp:
  - getDescriptor()
  - addChildAppDescriptor()
  - removeChildAppDescriptor()
2026-03-11 19:42:28 +01:00
Copilot
59a051059d [WIP] Update uWebSockets submodule to latest version (#1229)
* Initial plan

* Update uWebSockets submodule to c7b37fc (Expose remote port api)

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-03-11 19:41:30 +01:00
Copilot
9aeea4e715 Support symbol-keyed properties in WebSocket UserData (#1228)
* Initial plan

* Fix: Support symbol keys in UserData for WebSocket upgrade (issue #1184)

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

* Remove accidentally committed build artifacts and add .gitignore

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

* Delete .gitignore

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-11 19:40:42 +01:00
BV-WebDev
c51b086249 Fixe us_socket_local_port() missing argument type (#1222) 2026-03-11 19:37:03 +01:00
Shachar-Brightdata
bb831f0faf Add getRemotePort bindings (#1162) 2026-03-11 19:32:27 +01:00
Copilot
b03dd9d6d2 Add HttpResponse.writeHeaders (#1227)
* Initial plan

* Add HttpResponse.writeHeaders method

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-11 18:41:05 +01:00
BV-WebDev
7d83524a90 Update onData() documentation (#1223) 2026-03-11 15:33:21 +01:00
Copilot
b0a1028301 HttpResponse: add onFullData with zero-copy fast path and lazy allocation (#1225)
* Initial plan

* Add onFullData to HttpResponseWrapper for accumulating POST body data

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

* onFullData: fast paths, zero-copy, lazy allocation

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-11 15:03:58 +01:00
Alex Hultman
a11eb9df1e Update docs 2026-03-08 10:42:03 +01:00
Alex Hultman
a1bff123b3 Fix writeStatus docs 2026-03-08 10:26:13 +01:00
mike-git374
813e9e94e0 docs: add sendFragment (#1218) 2026-03-08 10:13:16 +01:00
Copilot
891cb0b0a0 Update licensing comment year to 2026 across all source files (#1216)
* Initial plan

* Update licensing comment year to 2026 in all source files

Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
2026-03-07 14:34:18 +01:00
uNetworkingAB
17827b54c0 Do not put .js file in binaries branches 2026-03-07 14:32:34 +01:00
uNetworkingAB
f411ff7213 AI brainrot 2026-03-07 14:16:32 +01:00
uNetworkingAB
c22b737279 And so am I 2026-03-07 14:12:05 +01:00
uNetworkingAB
fea372f0d6 AI is fucking useless 2026-03-07 14:09:00 +01:00
uNetworkingAB
cc96a76437 Refactor split-binaries job in build workflow
Refactor the split-binaries job to streamline platform branch updates.
2026-03-07 13:47:05 +01:00
uNetworkingAB
543811d659 Enhance split-binaries job in build workflow
Updated the split-binaries job to include fetch-depth and added logic to process platform-specific binaries.
2026-03-07 13:40:16 +01:00
uNetworkingAB
8072f6802b Add split-binaries job to build workflow
Added a new job 'split-binaries' to the workflow for handling binaries.
2026-03-07 13:29:56 +01:00
Peyman
034b67a2af add missing listen type (#1154) 2026-03-07 12:07:46 +01:00
BV-WebDev
0e628dbf66 Update DeclarativeResponse: add writeStatus support (#1213) 2026-03-07 11:59:59 +01:00
BV-WebDev
060e441053 Update DeclarativeResponse: add binary support (#1214) 2026-03-07 11:59:21 +01:00
uNetworkingAB
a77a010d23 Update error message for uWS.js version 20.60.0 2026-03-06 10:26:23 +01:00
Alex Hultman
279e47a116 Bump uWS 2026-03-06 09:08:47 +01:00
uNetworkingAB
f2d1121ab4 Update installation command to version 20.59.0 2026-03-05 09:29:29 +01:00
uNetworkingAB
3e510ebca9 Modify cmake flags to include /wd4201
Updated cmake command to suppress warning 4201.
2026-03-05 09:09:46 +01:00
uNetworkingAB
18fe585881 Update error message for uWS.js version 20.59.0 2026-03-05 08:50:58 +01:00
uNetworkingAB
6556c305b5 Yep, that applies to Windows as well 2026-03-05 08:49:21 +01:00
uNetworkingAB
33ecc53874 BoringSSL does not have ssl, crypto folders anymore? 2026-03-05 08:41:36 +01:00
Alex Hultman
cdc85fa1b9 Bump uWS 2026-03-05 08:29:39 +01:00
uNetworkingAB
06e58959f3 Modify end method to handle non-string values 2026-03-03 08:43:24 +01:00
uNetworkingAB
efca42bfc0 Update author year and version in uws.js 2026-02-24 00:51:51 +01:00
Alex Hultman
4fb4cc6acf Bump uWS 2026-02-24 00:49:22 +01:00
uNetworkingAB
fee15cda0e Update version in installation instructions 2026-01-15 11:27:04 +01:00
uNetworkingAB
ff48755d2f getParts needs to copy the parts until a better interface can replace this 2025-11-28 03:55:49 +01:00
uNetworkingAB
6499438b41 Update installation command to version 20.56.0 2025-11-05 20:08:32 +01:00
uNetworkingAB
1c3746c6e4 Update author year and version in uws.js 2025-11-05 20:07:17 +01:00
uNetworkingAB
ede6e8282a Update build.yml 2025-11-05 19:49:26 +01:00
uNetworkingAB
1dcfb1efe7 Update path to uws.js in smoke test 2025-11-05 19:42:03 +01:00
uNetworkingAB
3456a81493 Fix directory name from 'test' to 'tests' in build.yml 2025-11-05 19:24:30 +01:00