[gnutls-devel] GnuTLS | gnutls-serv --echo exits when a message is received (#959)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Mar 24 11:24:28 CET 2020
Anderson Sasaki created an issue: https://gitlab.com/gnutls/gnutls/-/issues/959
## Description of problem:
The bug was initially reported in https://bugzilla.redhat.com/show_bug.cgi?id=1816583
When ``gnutls-serv`` is executed with the ``--echo`` option, it exits when a message to be echoed is received. It outputs
## Version of gnutls used:
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
## How reproducible:
Steps to Reproduce:
* Generate server private key and certificate
* Run the server with ``--echo`` option. For example:
$ gnutls-serv --echo --x509certfile=cert.pem --x509keyfile=key.pem -p 4433
* Connect using a client and send a message to be echoed. For example, run:
$ gnutls-cli --insecure localhost:4433
Type the message to be echoed.
## Actual results:
Server closes connection and outputs:
## Expected results:
Server sends a copy of the received message to the client without closing the connection.
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/959
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel