GithubHelp home page GithubHelp logo

mpiraux / rapido Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 6.18 MB

rapido is a minimal implementation of TCPLS atop picotls

CMake 0.99% C 97.52% PowerShell 0.04% DTrace 0.54% Perl 0.53% C++ 0.01% Python 0.31% Makefile 0.06%
tcp tls transport

rapido's People

Contributors

alagoutte avatar artem-smotrakov avatar averms avatar bkchr avatar devnexen avatar deweerdt avatar ekr avatar fetus-hina avatar gfx avatar herumi avatar hfujita avatar huitema avatar i110 avatar james-tr avatar jfoote avatar kazuho avatar larseggert avatar lekensteyn avatar maksqwe avatar martinthomson avatar mattcaswell avatar maxsharabayko avatar mpiraux avatar omasanori avatar robguima avatar sleepybishop avatar steschu77 avatar tbarbette avatar toru avatar victorstewart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lux1m

rapido's Issues

Session closure

From #3.

  • Implements the graceful closure discussed in the draft
  • Design and implement an abortful closure

Rapido README

Hey! Could you create a Rapido README (or a rapido-part in the main readme) with the examples command and rapido specifics?
Thanks!

Memory pressure is not handled

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.

Send-after-close in server

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 :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.