KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
Loading...
Searching...
No Matches
Data Fields
KlClientPoolConn Struct Reference

Acquired connection handle. More...

#include <client_pool.h>

Collaboration diagram for KlClientPoolConn:
Collaboration graph
[legend]

Data Fields

int fd
 
KlTlstls
 
int reused
 
void * _entry
 

Detailed Description

Acquired connection handle.

Populated by kl_cpool_acquire on hit. Pass back to kl_cpool_release or kl_cpool_discard when done.

Field Documentation

◆ fd

int KlClientPoolConn::fd

TCP socket

◆ tls

KlTls* KlClientPoolConn::tls

TLS session (NULL for plaintext)

◆ reused

int KlClientPoolConn::reused

1 if from pool, 0 if fresh

◆ _entry

void* KlClientPoolConn::_entry

Internal bookkeeping – do not touch


The documentation for this struct was generated from the following file: