Age | Commit message (Collapse) | Author | Files | Lines |
|
The improvement was able to track the bug
SPEC-2163 by launching:
- ./stress-server.sh --ws --valgrind
- ./stress-clients.sh --null --count 20
Bug-AGL: SPEC-2163
Change-Id: I04634f0e98ab7a28df7c1d34ecc0d9c1faf43d57
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The file afb-stub-ws is split in two parts:
- afb-stub-ws: implements the interface between
xreq and protocol.
- afb-proto-ws: implements the pbinary protocol
over wer sockets
The intent is to have a clean separation between
a kind of generic stub and the protocol implmentation.
This will allow soon to provide a library to access
directly in C to the websocket of an API exposed
through the otpion --ws-server.
At the moment, the protocol implementation is on
websockets but in the futur it will be cleanly
rewritten to use any binary transport.
This commit also fixe a double free in subcalls.
Change-Id: I831787533db9fe073d060dd8ee9401cbab2894e1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic19ffd24be4bba54274150e1b71324e9017b402f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I590bf289ce597531622dc95bb00df11e0a8bdbb6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I86b62cfa2b6da6963d1014ae4362ea5f7338c736
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This modification make subcalls pushed back to
the client that will issue it for itself. This
will at the end ensure the security context of
the client.
Change-Id: Ib4bb5125ffe1b942103b72d1a3d13892dda87baa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I75fccf6c9b5c37c7548019e510f7c3281a5cd664
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Stress test now has 2 parts: the server part and
the client part.
Change-Id: I24e46060a1a710381476157f4fb4e8ad32370a5e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|