Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-25 | Daemonize and allow the build of .debug and .release versions | Max Christian Pohle | |
2021-11-24 | Made the implementation more generic again | Max Christian Pohle | |
2021-11-23 | TODO: investigate why %: Makefile target does not work | Max Christian Pohle | |
on FreeBSD | |||
2021-11-23 | simplified further for initial compatibility with FreeBSD | Max Christian Pohle | |
2021-11-23 | Added FreeBSD specific include | Max Christian Pohle | |
2021-11-23 | Removed sendfile for now | Max Christian Pohle | |
It is not compatible between linux and freebsd (different number of parameters) | |||
2021-11-23 | Corrected header files for FreeBSD compatibility | Max Christian Pohle | |
2021-11-23 | Added ui for labelprinter and Jenkins build file | Max Christian Pohle | |
2021-11-21 | First working version | Max Christian Pohle | |
TODO: needs refactoring | |||
2021-11-20 | Added BSD-2-Clause-FreeBSD style license | Max Christian Pohle | |
This license is compatible with the GPL. | |||
2021-11-20 | A little code cleaning and commenting | Max Christian Pohle | |
2021-11-20 | The server actually serves | Max Christian Pohle | |
2021-11-19 | Omg! It works! | Max Christian Pohle | |
2021-11-19 | Looks promising | Max Christian Pohle | |
2021-11-18 | Looking for a good way to parse binary data | Max Christian Pohle | |
2021-11-17 | That is much better now | Max Christian Pohle | |
2021-11-16 | First refactoring round | Max Christian Pohle | |
Still open: Split the header/body parser, but this is more complicated, so maybe some automated tests first. | |||
2021-11-16 | Basic functionality is finally there | Max Christian Pohle | |
We can: * skip HTTP status header * read the HTTP headers * find a boundary of multipart form data and if there was a boundary * parse further 'chunks', separated by this boundary, each with a HTTP header All of that was tested with text fields and binary data. This server implementation is insecure. Please do not use it for anything connected to the internet. It is simple though and can serve local daemons. TODO: callback to a parser function. | |||
2021-11-14 | Now that I can parse individual fields I see potential optimizations. | Max Christian Pohle | |
Well-- If I had read the entire input stream into the buffer, I would afterwards be able to change the buffer in memory and append \0 in places, where a name/value pair exists and that would every second pair a name and avoid many unnecessary memcpy. | |||
2021-11-14 | changed everything | Max Christian Pohle | |
* threads removed for now, because that was unrelyable and sometimes the connection could not be established. Investigation why is pending. * used openfd to open the socket, because working with a FILE structure is much more straight forward * added several parsing functions down to the level of detail, so that every chunk of multipart form data can be processed individually. The header parsing of these parts is still missing though. | |||
2021-11-10 | http answer implemented | Max Christian Pohle | |
2021-01-18 | Implemented a server | Max Christian Pohle | |