This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* A small test client that: | |
* 1. Establishes a TLS connection with Redis. | |
* 2. Starts sending a request, getting Redis to read it. | |
* 3. Before completing the command, initiates renegotiation. | |
* | |
* This basically aims to test the ability of the TLS implementation | |
* to respond while busy in an SSL_read() type of operation. | |
*/ | |
#include <sys/socket.h> | |
#include <resolv.h> |