Skip to content

Commit 08b6b54

Browse files
author
Mohamed, Belhadi
committed
[hotfix] removed forgotten debug on ssl socket, add std::to_string for uuid
1 parent a3dc41a commit 08b6b54

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
**Unlock the power of modern C++ for complex concurrent applications. QB is an actor-based framework meticulously engineered for developers seeking exceptional performance, scalability, and a more intuitive way to manage concurrency.**
66

77
QB simplifies the art of building responsive, real-time systems, network services, and distributed computations by harmonizing the robust **Actor Model** with a high-efficiency **Asynchronous I/O Engine**. Focus on your application's logic; let QB handle the intricacies of parallelism and non-blocking I/O.
8+
89
[![C++17](https://img.shields.io/badge/C%2B%2B-17-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B17) [![CMake](https://img.shields.io/badge/CMake-3.14+-blue.svg)](https://cmake.org/) [![Cross Platform](https://img.shields.io/badge/Platform-Linux%20%7C%20macOS%20%7C%20Windows-lightgrey.svg)](https://github.com/isndev/qb) [![Architecture](https://img.shields.io/badge/Arch-x86__64%20%7C%20ARM64-lightgrey.svg)](https://github.com/isndev/qb) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
910

1011
## Quick Start with QB

modules/uuid/include/uuid.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,4 +911,8 @@ namespace std
911911
return static_cast<result_type>(hasher(uuids::to_string(uuid)));
912912
}
913913
};
914+
915+
inline std::string to_string(const uuids::uuid &uuid) {
916+
return uuids::to_string(uuid);
917+
}
914918
}

source/io/src/tcp/ssl/socket.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,6 @@ socket::n_connect(endpoint const &ep, std::string const &hostname) noexcept {
597597
const auto h_ssl = ssl_handle();
598598
SSL_set_quiet_shutdown(h_ssl, 1);
599599
SSL_set_tlsext_host_name(h_ssl, hostname.c_str());
600-
unsigned char alpn[] = { 2, 'h', '2' };
601-
SSL_set_alpn_protos(h_ssl, alpn, sizeof(alpn));
602600
SSL_set_connect_state(h_ssl);
603601

604602
return ret;

0 commit comments

Comments
 (0)