Sergio R. Caprile
5c305e7fa8
Fix issuing 411 responses as a client
...
15.5.12. 411 Length Required
The 411 (Length Required) status code indicates that the server refuses to accept the request without a defined Content-Length (Section 8.6). The client MAY repeat the request if it adds a valid Content-Length header field containing the length of the request content.
fixes #2969
2024-11-21 18:55:16 -03:00
Sergio R. Caprile
53ec9adb1b
Merge pull request #2954 from cesanta/dbl
...
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp8266/http-client-server]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:infineon/infineon-xmc4700_4800-lwip-rtx-rtos]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-g031-make-baremetal-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp32/device-dashboard]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:infineon/infineon-xmc7200]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:microchip/same54-xpro/device-dashboard]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1020-evk-make-freertos-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1060-evk-make-freertos-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1170-evk-make-freertos-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-dashboard]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-w]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/w5500-evb-pico-picosdk-baremetal-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/w5500-evb-pico2-picosdk-baremetal-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:renesas/ek-ra6m4-make-baremetal-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-f746zg-make-baremetal-builtin-cmsis_driver]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-f746zg-make-freertos-tcp]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-device]) (push) Waiting to run
Build and test - essentials / cube_examples (push) Waiting to run
Build and test - essentials / test_f7 (push) Waiting to run
Build and test - essentials / test_f4 (push) Waiting to run
Build and test - essentials / test_h743 (push) Waiting to run
Build and test - essentials / test_h723 (push) Waiting to run
Build and test - essentials / test_h5 (push) Waiting to run
Build and test - essentials / test_rt1020 (push) Waiting to run
Build and test - essentials / test_rt1060 (push) Waiting to run
Build and test - essentials / test_rt1170 (push) Waiting to run
Build and test - essentials / test_ra6m4 (push) Waiting to run
Build and test - essentials / test_tm4c (push) Waiting to run
Build and test - essentials / test_same54 (push) Waiting to run
Build and test - essentials / test_pico_w5500 (push) Waiting to run
Fix dbl printing
2024-11-19 16:20:30 -03:00
robert
665298a04b
H7 dual core OTA compatibility
2024-11-14 10:22:36 -05:00
Sergio R. Caprile
58327a1753
Move ARCH_RP2040 --> ARCH_PICOSDK
2024-11-08 14:34:33 -03:00
Sergio R. Caprile
7844d84798
Merge pull request #2956 from cesanta/ota-rt1170
...
OTA RT1170
2024-11-07 13:45:28 -03:00
Sergio R. Caprile
7a30a42797
Merge pull request #2957 from cesanta/picornd
...
Use Pico-SDK RNG
2024-11-07 11:59:47 -03:00
Sergio R. Caprile
094202ff16
Use Pico-SDK RNG
2024-11-07 11:57:08 -03:00
robert
9c4523f4fa
OTA RT1170
2024-11-07 08:39:28 -05:00
robert
9878518e29
IMXRT OTA: support included for 1024, 1040, 1064
2024-11-07 03:11:57 -05:00
Sergey Lyubka
226a3de55d
Fix dbl printing
2024-11-06 06:14:38 +00:00
Sergio R. Caprile
67d0f5f4ae
Add OTA for Pico-SDK (RP2040)
2024-11-05 17:17:22 -03:00
robert
b6296e7a67
RT1020 OTA: removed unnecessary compiler optimisation
2024-11-05 03:48:26 -05:00
Sergio R. Caprile
64a6fef823
MG_IRAM -> noinline
2024-11-01 16:21:18 -03:00
robertc2000
e0c64cc4ff
Merge pull request #2949 from cesanta/ota-f7
...
STM32F OTA support
2024-10-30 16:57:21 +02:00
robert
3e55478b3b
STM32F OTA support
2024-10-30 10:55:05 -04:00
Sergey Lyubka
9aef821862
Merge pull request #2933 from cesanta/win_rng
...
Windows: added alternative to bcrypt lib
2024-10-29 15:44:05 +00:00
robert
f394df840e
Killed bcrypt, replaced with rand_s
2024-10-29 10:41:10 -04:00
Sergey Lyubka
7d33699173
Merge pull request #2935 from cesanta/tms570
...
TMS570 support
2024-10-26 11:14:26 +01:00
Sergio R. Caprile
9b99f62311
Refactor OTA API
2024-10-24 19:08:06 -03:00
Sergey Lyubka
3319ce78d3
Simplify OTA API
2024-10-22 01:25:19 +01:00
Sergio R. Caprile
d37c300d87
Honor c->is_resp with Connection:close
2024-10-10 19:44:09 -03:00
Sergio R. Caprile
504ef9422e
fix gw ARP on startup
2024-10-10 11:42:38 -03:00
robert
cbbcec0895
TMS570 support
2024-10-10 03:23:51 -04:00
Sergio R. Caprile
32d90c38db
tweaks
2024-10-09 11:33:14 -03:00
Sergey Lyubka
e1f7f3d7bb
Make ARP probe public. Add ARP event
2024-10-09 11:33:14 -03:00
robert
5ec26a5015
Windows: added alternative to bcrypt lib
2024-10-08 09:21:13 -04:00
Sergey Lyubka
8a8ff2aef0
Merge pull request #2908 from cesanta/convenience
...
avoid trashing other projs thinking redefining types is convenient
2024-10-05 08:49:17 +01:00
Sergey Lyubka
93dd7a85f6
Fix IP fragmentation checks for big-endian CPUs
2024-10-04 16:18:33 +01:00
Sergio R. Caprile
48f695f3e6
DP83848 has no clock setup
2024-10-02 10:22:09 -03:00
Sergio R. Caprile
b58f8b9d7c
Fix multiple TLS records in buffer
2024-10-01 18:26:51 -03:00
Sergio R. Caprile
a81818b2db
avoid trashing other projs thinking redefining types is convenient
2024-09-24 20:14:39 -03:00
Sergio R. Caprile
877cbbd11d
Revert "fix printf precision handling"
2024-09-24 18:01:07 -03:00
Sergio R. Caprile
5c8885ee5f
Fix ARP handling with UDP
2024-09-24 12:37:13 -03:00
Sergio R. Caprile
3742da8770
fix printf precision handling
2024-09-20 20:40:54 -03:00
Sergey Lyubka
c1b703a039
Detach HTTP handler if MG_EV_HTTP_HDRS changes c->recv
2024-09-18 13:30:27 +01:00
Sergio R. Caprile
bdc009eb65
Merge pull request #2880 from cesanta/rng
...
Make mg_random() fallible. Abort TLS on weak RNG
2024-09-02 11:12:27 -03:00
Sergey Lyubka
683f65f8ac
Make mg_random() fallible. Abort TLS on weak RNG
2024-09-02 11:06:10 -03:00
Sergey Lyubka
eeecbbcff9
Fix #2871 - accept *
in mg_http_serve_opts::mime_types
2024-09-02 06:12:02 +01:00
Sergey Lyubka
641c7d1967
MG_IO_SIZE=256 on embedded platforms
2024-08-30 15:52:14 -03:00
Sergio R. Caprile
045b196eeb
fix ARP resolution when remote host is the gw
2024-08-12 11:55:57 -03:00
Sergio R. Caprile
15c8ba5d3f
Update TM4C driver init + nits
2024-07-31 16:53:29 -03:00
Sergio R. Caprile
3ffe5e958f
improve close on TLS
2024-07-30 19:30:14 -03:00
Sergio R. Caprile
3081d0766b
Patch KSZ PHY for NXP
2024-07-30 14:34:13 -03:00
Sergio R. Caprile
dedf67fb52
make friends with FreeRTOS+TCP compatibility
2024-07-30 10:58:10 -03:00
Sergey Lyubka
4493d35d26
Move http-restful-server to builtin TLS, plus minor nits
2024-07-26 19:31:15 +01:00
Sergio R. Caprile
fe77075996
Refactor tls receive pointer scheme
2024-07-26 12:15:05 -03:00
Sergio R. Caprile
4d6b126b9d
unbreak after incorrect cleanup
2024-07-26 12:14:33 -03:00
Sergio R. Caprile
5a8c56e784
Misc TLS cleanups
2024-07-25 19:01:35 -03:00
Sergey Lyubka
4b49c63344
Make net_builtin send client TLS HS
2024-07-23 18:47:48 +01:00
Sergio R. Caprile
7f7c1ff6c2
handle possible memory trashes on mg_send() and mg_iobuf_add() failures
2024-07-09 14:56:22 -03:00