Karl Seguin
6ab64d155b
Refactor CDP
...
CDP is now an struct which contains its own state a browser and a session.
When a client connection is made and successfully upgrades, the client creates
the CDP instance. There is now a cleaner separation betwen Server, Client and
CDP.
Removed a number of allocations, especially when writing results/events from
CDP to the client. Improved input message parsing. Tried to remove some usage
of undefined.
2025-02-12 16:47:37 +08:00
Francis Bouvier
ed3a464843
cdp: fix memory leak in msg parsing of the JSON
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-11-09 03:25:42 +01:00
Pierre Tachoire
82c37fc71b
cdp: refacto message JSON read
2024-11-12 12:56:29 +01:00
Francis Bouvier
8e05f09fc8
server, cdp: improve logging
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-15 22:57:56 +02:00
Francis Bouvier
84c49fbe34
cdp: ensure there is an ID on each request
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-15 17:28:18 +02:00
Francis Bouvier
c8a91d4cf6
server: merge Cmd and Accept in Ctx
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-09 00:55:29 +02:00
Francis Bouvier
5ab1d2a8a5
Add License in new cdp files
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-01 18:02:21 +02:00
Francis Bouvier
2f3a581859
Add TODOs and comments
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-10-01 17:48:54 +02:00
Francis Bouvier
aca64eedca
Uniformize calling name conventions
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-06-19 15:56:44 +02:00
Francis Bouvier
cecc03e1ed
Add fetch.disable
...
Signed-off-by: Francis Bouvier <francis@lightpanda.io >
2024-06-07 16:12:31 +02:00