Commit Graph

908 Commits

Author SHA1 Message Date
Pierre Muller
4da4c96349 Regenerate Makefile's with mips gcc fixes and new enabled mips64-linux target 2022-02-15 15:45:15 +00:00
Michaël Van Canneyt
c46b45bf72 * Patch from Laco to add TSingleField 2022-02-14 09:15:43 +01:00
Nikolay Nikolov
21593942a1 * regenerate all makefiles with the latest fpcmake 2022-02-13 15:26:54 +02:00
Michaël Van Canneyt
7b62186b9c * Normalize route when checking for duplicate routes. Fix issue #39570 2022-02-10 14:13:44 +01:00
Ionut Stoica
2ec382e68c Fix leak due to bad merge or rebase 2022-02-10 09:30:22 +01:00
Yuri Silver
4e51973dba In case of incorrect shutdown of the client. The buffer may return =0. There will be an exception. 2022-02-01 22:36:16 +03:00
Ionut Stoica
5233473748 Fix memory leak - avoid handler allocation when not needed 2022-01-29 14:28:46 +00:00
Ionut Stoica
bef4da339a fphttpclient - only handle Unix in conditional compilation for UnixSocketPath feature 2022-01-26 08:33:08 +01:00
Ionut Stoica
54efcc4bbb Client support of HTTP over unix socket 2022-01-25 17:38:35 +01:00
Nikolay Nikolov
b407b67ca1 * regenerate all makefiles with latest fpcmake 2022-01-19 07:08:32 +02:00
Yuri Silver
bb91dadb00 Added missing units for websocket client example 2022-01-13 15:49:31 +03:00
Yuri Silver
091e86082d Cosmetics changes 2022-01-11 18:54:29 +00:00
Yuri
6347c9d03c All Autobahn testsuite tests passed 2022-01-11 18:54:29 +00:00
Yuri
8386906668 UTF-8 support for message. 2022-01-11 18:54:29 +00:00
Yuri Silver
544b58680e Fixed fragmentation of incoming messages. 2022-01-11 18:54:29 +00:00
Yuri Silver
5a9021c14c Control message must not be fragmented. 2022-01-07 20:33:54 +03:00
Yuri Silver
f3a0bdd232 Added processing of reserved opcodes. 2022-01-07 16:37:29 +03:00
Yuri Silver
11ac750e87 Added reaction for incorrect reserved bits. 2022-01-07 15:31:58 +03:00
Yuri Silver
09b763c698 Websocket server correct work with Ping Pong 2022-01-07 05:11:24 +03:00
Michaël Van Canneyt
2460ecb9d9 * Patch from Yuri Silver to read data correctly. fix issue 39517 2022-01-06 23:42:18 +01:00
Yuri
07d298d23b Cosmetic changes 2022-01-06 13:50:12 +00:00
Yuri
58e9d7c647 Added reason for closing the connection. 2022-01-06 13:50:12 +00:00
Yuri
d8d7d49568 Merge branch 'main' into websocket 2022-01-06 01:13:15 +03:00
Yuri
aa82a2e446 Typecasting to int64 type fixes the exception. 2022-01-06 01:12:50 +03:00
Yuri
2f0e24c560 Merge branch 'main' of https://gitlab.com/freepascal.org/fpc/source into main 2022-01-06 01:08:09 +03:00
Robert Roland
53e5a4a03a Adding aaarch64-embedded target
This adds support for aarch64-embedded, specifically for the Raspberry Pi 3.

Uses UART0 at 115200 baud 8N1 for console IO.
2022-01-05 12:29:00 +00:00
Yuri
749c8110b6 Fixed error if payload = 0 2022-01-05 09:47:49 +00:00
Yuri
045472a5e7 The disconnect event is now called once instead of three. 2022-01-05 09:47:49 +00:00
Yuri
73529f5266 Added a connection event when clients connect to the server. 2022-01-05 11:21:57 +03:00
Yuri
c9b988e146 Checking the protocol version for websocket is not required on the client side. 2021-12-28 22:16:37 +00:00
Michaël Van Canneyt
a18e75eaff * Some cleanup, add file headers 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
c944484e66 * Some clarifying comments 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
fa7d3d845b * Some clarifying comments 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
2f23239ebd * Move resourcestrings to single unit 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
036aea025d * build json-rpc using invoke 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
12616f6579 * JSON-RPC using Invoke 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
7d4844919b * Initialize APIRequestName 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
2be3978bb4 * Some fixes & improvements 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
b46f361d91 * Fix compiler warnings 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
8360b18097 * Position stream on start 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
8a63e7ee5a * Fix compiler hints 2021-12-27 11:57:11 +01:00
Michaël Van Canneyt
d362d47e88 * Fix memleak and compiler hints 2021-12-27 11:57:11 +01:00
Michaël Van Canneyt
11d2960db8 * Fix memleak 2021-12-27 11:57:10 +01:00
Michaël Van Canneyt
ebd7bb7cb9 * Create API description as Pascal 2021-12-21 19:17:31 +01:00
Michael Van Canneyt
bd77787712 * Fix from Дмитрий Ворошин, fix issue #39495 2021-12-21 16:07:00 +01:00
Michaël Van Canneyt
87a785daa0 * Fix registry search for method name 2021-12-20 13:26:08 +01:00
Michaël Van Canneyt
fd29f25bf1 * Add RPCMethodName property 2021-12-20 13:18:57 +01:00
Michaël Van Canneyt
4c6cbfe03e * RPC Client code generator (also in pas2js) 2021-12-19 22:19:15 +01:00
Michaël Van Canneyt
03b3f00a0b * Publish handler resulttype, add OnContextExecute 2021-12-19 22:16:36 +01:00
Pierre Muller
271ba59cf1 All Makefile's regenerated 2021-11-25 22:13:32 +00:00