Skip to content

1.0.rc2#90

Merged
oliynykmax merged 7 commits intomainfrom
89-client-is-being-copied
Sep 26, 2025
Merged

1.0.rc2#90
oliynykmax merged 7 commits intomainfrom
89-client-is-being-copied

Conversation

@jotuel
Copy link
Copy Markdown
Collaborator

@jotuel jotuel commented Sep 23, 2025

I was able to remove copy constructor and copy assigment overload from Client as they were no longer in use after switching to shared_ptr. Closes #89, fixes #86 and merges fix #83

…et into epoll in the constructor. Also poll now checks whether event fd matches socket and just runs Handler::acceptClient
Server map a shared_ptr. So syntax changes mostly, except in Client and
Server.
@jotuel jotuel linked an issue Sep 23, 2025 that may be closed by this pull request
@jotuel jotuel changed the title 89 client is being copied Client as shared_ptr with other fixes merged Sep 24, 2025
@jotuel
Copy link
Copy Markdown
Collaborator Author

jotuel commented Sep 24, 2025

This really oughta be the last one in this series. Real pleasure working with ya gents. Catch ya on the flipside. 🫡

@jotuel jotuel self-assigned this Sep 24, 2025
@jotuel jotuel changed the title Client as shared_ptr with other fixes merged 1.0.rc2 Sep 25, 2025
@jotuel jotuel requested review from oliynykmax and v-kuu September 26, 2025 15:12
Copy link
Copy Markdown
Owner

@oliynykmax oliynykmax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to see those memory changes. LGTM

@oliynykmax oliynykmax merged commit 82897a4 into main Sep 26, 2025
2 checks passed
Copy link
Copy Markdown
Collaborator

@v-kuu v-kuu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMI

@v-kuu v-kuu deleted the 89-client-is-being-copied branch September 28, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Client is being copied Fix Server socket is Client dirty hack Handle Ctrl+D aka EOF

3 participants