Commit Briefs


Omar Polo

fmt + avoid possible errors


Omar Polo

typo


Omar Polo

yield_w after a failed connect


Omar Polo

first draft of asynchronous dns resolution

Use asr on OpenBSD to do DNS query lookups asynchronously. At the moment it seems a bit hard to provide the whole asr + asr_event stuff in the compat layer, so hide those bits behind an #ifdef; not the prettiest solution, but a working one. Future works may either: - provide a stub implementation for the asr stuff - bundle the libasr from OpenSMTD-portable





Omar Polo

don't crash on handshake failures

ty gemini://discovery.geminiprotocol.com =)



Omar Polo

fix various warnings, no functional changes

now that we have a bounch of -Wxxx flags during compilation, let's fix everything.


Omar Polo

added fs process

it's the only one that has file system access. For now it serves about:new (from memory) and about:bookmarks (from ~/.telescope/bookmarks.gmi if found)


Omar Polo

don't printf


Omar Polo

set the off to zero after flushing the buffer

this was the cause we had duplicated "chunks" in the pages: if we enter copy_body with req->off != 0 but then tls_read returns WANT_POLLIN/POLLOUT, the next time we flush the same chunk again.


Omar Polo

style