mpiraux / rapido Goto Github PK
View Code? Open in Web Editor NEWrapido is a minimal implementation of TCPLS atop picotls
rapido is a minimal implementation of TCPLS atop picotls
From #3. The way it is implemented can misalign the data. An array with a separate bitset indicating whether a index is used would be better.
From #3.
Before reviewing #1, just looking at the base code is required. The total diff can be viewed at: https://github.com/mpiraux/rapido/compare/9accdf..main. I can put it in a branch as well if preferred.
Hey! Could you create a Rapido README (or a rapido-part in the main readme) with the examples command and rapido specifics?
Thanks!
Many places of the code do not handle memory pressure, e.g. failing allocations, and fail. Some of them are marked with the todo macro.
Starting program: /home/tbarbette/workspace/rapido/rapido -c ./t/assets/rsa/cert.pem -k ./t/assets/rsa/key.pem localhost 8443
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[launching the client, that runs fine and display the transfer statistics]
Accepted connection
Program received signal SIGPIPE, Broken pipe.
0x00007ffff7cc8730 in __libc_send (fd=4, buf=0x7ffff642244f, len=262496,
flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/send.c:28
28 ../sysdeps/unix/sysv/linux/send.c: No such file or directory.
(gdb) where
#0 0x00007ffff7cc8730 in __libc_send (fd=4, buf=0x7ffff642244f, len=262496,
flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/send.c:28
#1 0x0000555555565fd5 in rapido_send_on_connection (session=0x5555556a5790,
connection_id=<optimized out>, current_time=<optimized out>)
at /home/tbarbette/workspace/rapido/lib/rapido.c:1786
#2 0x0000555555566dfa in rapido_run_network (session=<optimized out>,
timeout=<optimized out>) at /home/tbarbette/workspace/rapido/lib/rapido.c:1912
#3 0x000055555555cfaa in run_server (session=0x5555556a5790)
at /home/tbarbette/workspace/rapido/t/rapido.c:73
#4 0x000055555555c9b5 in main (argc=0, argv=<optimized out>)
at /home/tbarbette/workspace/rapido/t/rapido.c:233
(gdb)
Is it expected at this stage? Or should I look more into it? I need the server to at least not crash after a single connection to advance on wrk :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.