libreoffice-online/net
Miklos Vajna a5566baa03 Add version of std::atoi() that needs no extra allocation
std::atoi() assumes a null-terminated string and our strings are not
always null-terminated. So add a version that takes a length parameter,
this way we don't have to copy strings around.

Also switch to this in http::StatusLine::parse().

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I449b356c1b9948c562434618596e8e3b38656088
2021-04-26 16:22:27 +02:00
..
Buffer.hpp wsd: http: improve StatusLine 2021-03-22 10:09:22 -04:00
clientnb.cpp wsd: cleanup Poco headers 2021-03-22 10:09:22 -04:00
DelaySocket.cpp wsd: avoid static SocketPoll 2021-03-13 16:44:09 -05:00
DelaySocket.hpp wsd: avoid static SocketPoll 2021-03-13 16:44:09 -05:00
FakeSocket.cpp
FakeSocket.hpp
HttpHelper.cpp wsd: cleanup Poco headers 2021-03-22 10:09:22 -04:00
HttpHelper.hpp
HttpRequest.cpp Add version of std::atoi() that needs no extra allocation 2021-04-26 16:22:27 +02:00
HttpRequest.hpp Add a fuzzer for http::Response::readData() 2021-04-23 17:54:36 +02:00
NetUtil.cpp wsd: http: improved parseUri and new parseUrl with tests 2021-04-07 11:36:10 -04:00
NetUtil.hpp wsd: http: improved parseUri and new parseUrl with tests 2021-04-07 11:36:10 -04:00
ServerSocket.hpp wsd: encapsulate ServerSocket::_socketFactory 2021-03-16 08:27:46 -04:00
Socket.cpp Use the accepted socket, not the listening one. 2021-04-23 16:36:38 +01:00
Socket.hpp wsd: std::move better than copy-from-ref 2021-04-11 18:43:36 -04:00
Ssl.cpp
Ssl.hpp wsd: more informative SSL state reporting 2021-04-02 13:18:41 -04:00
SslSocket.hpp wsd: better errno handling in sockets 2021-03-01 21:50:18 -05:00
WebSocketHandler.hpp wsd: log the buffer size in WebSocketHandler::sendFrame 2021-04-12 09:06:38 -04:00
WebSocketSession.hpp wsd: override getPollEvents in WebSocketSession 2021-04-12 09:06:38 -04:00