Merge branch 'get_peername_stack_save_ram' into integration

This commit is contained in:
J. Nick Koston
2025-12-27 18:54:31 -10:00
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ std::string format_sockaddr(const struct sockaddr_storage &storage) {
return {};
}
class BSDSocketImpl : public Socket {
class BSDSocketImpl final : public Socket {
public:
BSDSocketImpl(int fd, bool monitor_loop = false) : fd_(fd) {
#ifdef USE_SOCKET_SELECT_SUPPORT

View File

@@ -602,7 +602,7 @@ class LWIPRawImpl : public Socket {
// Listening socket class - only allocates accept queue when needed (for bind+listen sockets)
// This saves 16 bytes (12 bytes array + 1 byte count + 3 bytes padding) for regular connected sockets on ESP8266/RP2040
class LWIPRawListenImpl : public LWIPRawImpl {
class LWIPRawListenImpl final : public LWIPRawImpl {
public:
LWIPRawListenImpl(sa_family_t family, struct tcp_pcb *pcb) : LWIPRawImpl(family, pcb) {}

View File

@@ -42,7 +42,7 @@ std::string format_sockaddr(const struct sockaddr_storage &storage) {
return {};
}
class LwIPSocketImpl : public Socket {
class LwIPSocketImpl final : public Socket {
public:
LwIPSocketImpl(int fd, bool monitor_loop = false) : fd_(fd) {
#ifdef USE_SOCKET_SELECT_SUPPORT