Commits


Remove old debug code


Handle the case that mime is NULL


Do not log requested file names by default


Initialize fd variable


close fd also in the error condition case


Remove unused buffer variable


Shorten to 80 chars per line


Add my copyright


Try to fix if user supplies a path to a dir


Add support for mime handling


Only send as much bytes back as have been read before


Send default mime type with 20 success message and fix wrong var name


Make TLS read and write work


Change local warn() to log_warn()


Send gemini file ack to client


Function should not be static since it's called from twind.c


Move status codes in header file, fix meta string generation and add a function to send a non-success status code


Initial commit of twind