1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 18:32:06 +00:00
serenity/Services/ProtocolServer
Lenny Maiorani e6f907a155 AK: Simplify constructors and conversions from nullptr_t
Problem:
- Many constructors are defined as `{}` rather than using the ` =
  default` compiler-provided constructor.
- Some types provide an implicit conversion operator from `nullptr_t`
  instead of requiring the caller to default construct. This violates
  the C++ Core Guidelines suggestion to declare single-argument
  constructors explicit
  (https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c46-by-default-declare-single-argument-constructors-explicit).

Solution:
- Change default constructors to use the compiler-provided default
  constructor.
- Remove implicit conversion operators from `nullptr_t` and change
  usage to enforce type consistency without conversion.
2021-01-12 09:11:45 +01:00
..
ClientConnection.cpp ProtocolServer: Add some debug log output for failed downloads 2021-01-03 13:10:53 +01:00
ClientConnection.h ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
CMakeLists.txt ProtocolServer: Put everything in the ProtocolServer namespace 2020-05-17 16:33:09 +02:00
Download.cpp ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
Download.h ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
Forward.h ProtocolServer+LibTLS: Pipe certificate requests from LibTLS to clients 2020-08-02 18:57:51 +02:00
GeminiDownload.cpp ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
GeminiDownload.h ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
GeminiProtocol.cpp AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
GeminiProtocol.h ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
HttpDownload.cpp ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
HttpDownload.h ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
HttpProtocol.cpp AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
HttpProtocol.h ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
HttpsDownload.cpp ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
HttpsDownload.h ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
HttpsProtocol.cpp AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
HttpsProtocol.h ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
main.cpp ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
Protocol.cpp ProtocolServer: Avoid blocking all downloads when client stops reading 2020-12-31 16:57:09 +01:00
Protocol.h ProtocolServer: Avoid blocking all downloads when client stops reading 2020-12-31 16:57:09 +01:00
ProtocolClient.ipc ProtocolServer: Stream the downloaded data if possible 2020-12-30 13:31:55 +01:00
ProtocolServer.ipc ProtocolServer: Use an empty Optional<IPC::File> to pass along "no fd" 2021-01-01 14:26:43 +01:00