Commits
- Commit:
c6287992bf8097498b7fe492345e5334218b3b17
- From:
- Omar Polo <op@omarpolo.com>
- Date:
net: improve error messages for connection failures
- Commit:
af6907bf376ad1ee642b1a281ef64cdb7cd4ddbe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
net: improve handling of connect(2) failures
If we succeed to make a socket(2) but fail to connect(2), still
attempt to reconnect using the other results from getaddrinfo(3).
- Commit:
90c462261dfb869b5e25c44bc9f17259e28e4b40
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve error message on connection interruption
- Commit:
d35e18b31b0e05c6178a6bfa891dd2e2dadf3db1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
first draft of client certificate support
At the moment telescope loads a mapping host:port/path -> certificate
from a file and always uses it, no ways to change it, use a temporary
one, generate a new one, etc are provided yet.
The format of ~/.telescope/certs/certs is
host port path certificate file name
where the certificate file name is the name of a file inside
~/.telescope/certs.
~/.telescope/certs/ is ~/.local/share/telescope/ when using XDG.
- Commit:
54764e41a11e16a56da805313f209a9937c5173d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
send the reply code and meta in a single imsg
- Commit:
0388b56b659378d06da4d3ae5b44ec1b11d53374
- From:
- Omar Polo <op@omarpolo.com>
- Date:
net: switch to new imsg apis
- Commit:
186a1eec82f03f9e24c4095c0a31f4a10de19c88
- From:
- Omar Polo <op@omarpolo.com>
- Date:
inline a goto err
- Commit:
b07d2757b848245032749fb16d7a4ab6f360d7f4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework net_read() a bit
- don't stop after parsing the header
maybe there's some page data in the buffer, let's try to forward it
immediately too.
- use a local buffer plus bufferevent_read()
- Commit:
c24b14ad282967165c7a76de548f622365fa447f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use the new imsg_get_data() in a few places
- Commit:
5657662f9f60baa58e29c8c34dbd0c68cc784790
- From:
- Omar Polo <op@omarpolo.com>
- Date:
net: don't need a uri, just host and port fields
While here, make 'em dinamically allocated.
- Commit:
c6e37ffde911f0a5e1a09ff309d347497c7a1d2e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/IMSG_GET_RAW/IMSG_GET and gc unused IMSG_GET_FILE
- Commit:
0640b55566b66eb28c4c16f22c10e47b58207394
- From:
- Omar Polo <op@omarpolo.com>
- Date:
re-group the handling of imsgs
while here also do more validation in IMSG_GET_RAW and add a missing
NULL check in the return type of req_by_id in the IMSG_CERT_STATUS.
- Commit:
612d2546ec8bfffdcab59f3a7069c6bf664a0ee4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync request size with telescope.h
- Commit:
4e28261d344ccc1d8732379ed36b87f6041d538c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
get rid of some ifdefs
just declare the same function in the two branches of #if HAVE_ASR_RUN
to avoid further #ifs
- Commit:
12b8028458880ff002c13e2fc82398e6358ffdb6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
avoid unnecessary else