summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-11test threadHEADmasterdomainfadhil riyanto
2024-10-10add domain supportfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-10test resolve by AF_UNSPECfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09separate formatting function from connect functionfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09test resolve domain namefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09test read domain namefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09delete unused returnfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09test detect ipversionfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09add support for listen in IPV6fadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09fix getopts argsfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09fix logger stylefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09add readmefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09test hex printipv6fadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-09add ipv6 supportfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-08Merge branch 'master' into ipv6fadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-08test timeoutfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-08fix bug tcp transport failfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-08add socks5 err codefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-08test init ipv6fadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-08fix fdleakdevfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-08fix cpu burst due unjoined threadfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-08add epoll to the thread instead using busy waitfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-07create 2 way socket data transfer using pthreadfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-07add \r\n\r\n detectionfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-06add signal SIG_PIPE ignorefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-06fix fdleakfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-06test charptrfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-06fix writefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-06test aligned memoryfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-06test sendfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-05add data exchangefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-05add create connection to target serverfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-05fix network to host orderfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-05add bug: port number incorrectfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-04test merge bitsfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-04test increate fd watchfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-04fix req duplicatefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-03fix bug sigsegvfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-02add thread functionfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-02fix sockaddr gatefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-01test add mutexfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-01copy filesfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-01add gcfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-01fix over-read fdfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-01add licensefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-10-01fix sigsegv when thread ended. Use thread pool insteadfadhil riyanto
use own th_pool struct instead use fd_sockaddr_list Signed-off-by: fadhil riyanto <me@fadev.org>
2024-09-30test add thread handler on event queuefadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>
2024-09-29Add thread pool gcfadhil riyanto
when read() return invalid retcode, we call mark_conn_inactive then, the marked read by start_clean_conn_gc and start realloc memory and close the fd. Signed-off-by: fadhil riyanto <me@fadev.org>
2024-09-29fix sigsegv: init_get_pthread_arrptrfadhil riyanto
func init_get_pthread_arrptr return pthread_t* where this ptr is dynamic mem. this cause rewrite already mapped memory also add pthread_join Signed-off-by: fadhil riyanto <me@fadev.org>
2024-09-29add func that mark connection alive or notfadhil riyanto
Signed-off-by: fadhil riyanto <me@fadev.org>