summaryrefslogtreecommitdiff
path: root/src/session.hpp
Commit message (Collapse)AuthorAgeFilesLines
* session(SRecvData::data): use std::string instead of char*littleblack1112025-03-201-0/+5
|
* fix: NONEWLINE more explicitlittleblack1112025-03-201-0/+2
| | | | | | fixes a problem where all of socket wrote response is using NONE fmt(944b18bde52778b32c31dc23f3d90fc17b94794f) so all of them don't have \n
* perf(session): use pointer for SRecvDatalittleblack1112025-03-201-6/+5
|
* NFormatter: no more prefix support for socket writelittleblack1112025-03-201-2/+2
| | | | NFormatter: remove CHAT prefix
* clang-tidylittleblack1112025-03-201-1/+1
|
* session(write): fix newline not being printed before writelittleblack1112025-03-201-0/+2
| | | rn if you write() while there is a read("text") it would output the new write() in the same line which is not ideal.
* bump: compile_commandslittleblack1112025-03-201-22/+21
|
* session: get/use IP and port on connectlittleblack1112025-03-201-4/+17
|
* perf(session): uint8_t for eEventTypelittleblack1112025-03-201-1/+1
|
* clang-formatlittleblack1112025-03-201-1/+1
|
* session(registerSession): don't errno, just break if reset by peer(disconnect)littleblack1112025-03-201-1/+1
|
* signal(session,sessionManager): atexit handlerlittleblack1112025-03-201-0/+1
| | | | sometimes have malloc: Heap corruption detected :/
* fix(registerName): no longer allow same namelittleblack1112025-03-201-1/+1
| | | | | | | | | | the previous behaviour was it wouldn't broadcast the message to the same name debug: more logging, maybe we should disable TRACE by default in the future? WIP: partial impl of signal handling(SIGINT(keyboardinterrupt) etc)
* session: recvManager -> recvLooplittleblack1112025-03-201-1/+1
| | | | fix(recvLoop): break if !good
* style: remove random const, reorganize stufflittleblack1112025-03-201-11/+13
|
* fix: session not disconnected properlylittleblack1112025-03-201-0/+4
| | | | perf: use server sockfd directly instead of a dupe of it
* refactor: logging systemlittleblack1112025-03-071-4/+8
|
* session: dynamic onErrnolittleblack1112025-03-051-1/+5
| | | | refactor: read(std::string)
* clang-format & clang-tidylittleblack1112025-03-041-19/+19
|
* refactor!: python -> c++littleblack1112025-03-041-0/+32