Skip to content

Send-after-close in server #9

@tbarbette

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions