1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-21 21:40:59 +00:00
serenity/Userland/Services/EchoServer
sin-ack dbd25916a3 LibCore+Userland+Tests: Convert Stream APIs to construct on heap
As per previous discussion, it was decided that the Stream classes
should be constructed on the heap.

While I don't personally agree with this change, it does have the
benefit of avoiding Function object reconstructions due to the lambda
passed to Notifier pointing to a stale object reference. This also has
the benefit of not having to "box" objects for virtual usage, as the
objects come pre-boxed.

However, it means that we now hit the heap everytime we construct a
TCPSocket for instance, which might not be desirable.
2022-01-13 15:16:12 +03:30
..
Client.cpp LibCore+Userland+Tests: Convert Stream APIs to construct on heap 2022-01-13 15:16:12 +03:30
Client.h LibCore+Userland+Tests: Convert Stream APIs to construct on heap 2022-01-13 15:16:12 +03:30
CMakeLists.txt EchoServer: Port to LibMain 2021-12-27 22:00:01 +01:00
main.cpp LibCore+Services: Make TCPServer propagate errors 2021-12-27 22:00:01 +01:00