asmttpd icon indicating copy to clipboard operation
asmttpd copied to clipboard

Web server for Linux written in amd64 assembly.

Results 13 asmttpd issues
Sort by recently updated
recently updated
newest added

https://en.m.wikipedia.org/wiki/Memory_barrier#Multithreaded_programming_and_memory_visibility You need mfence/lfence/sfence before mutex_lock() returns, and before unlock() returns.

I telnet the server port listened by asmhttpd and after sending the first line of http request, and the error response got: Trying 0.0.0.0... Connected to 0. Escape character is...

``` C:\Users\shaba>curl -I http://localhost:8080/ HTTP/1.1 200 OK Server: asmttpd/0.4.4 Accept-Ranges: bytes Content-Length: 17905 Content-Type: text/html C:\Users\shaba>curl -I http://localhost:8080/plans HTTP/1.1 200 OK Server: asmttpd/0.4.4 Accept-Ranges: bytes Content-Length: 9223372036854775807 Content-Type: application/octet-stream C:\Users\shaba>curl...

bug

Only a very trivial issue however code comments seem a bit inconsistent. Should we standardize on: `mov rax, rbx ; This is a comment` Space after ';' and start with...

Are there any plans on supporting secure connections? They are already possible by proxying through nginx to add a certificate for https. But when I have nginx running I don't...

enhancement

* Extended thread buffer by 2048 * Added a very basic HTML formatted response with a list of the directory contents * When request for a directory is a non...

My current plan for handling 10k+ connections, will edit as it's improved. Comments are welcome :) Idea: Don't block on anything until it's ready. When waiting for I/O, accept more...

enhancement

Why do a byte-wise comparison of these? Some can be DWORD compares, and all of them could be a `cmpsb` loop instead of being manually unrolled. https://github.com/nemasu/asmttpd/blob/b5addafdef9a821c1fe022bafd3575a5b599c9be/http.asm#L366-L384

enhancement

https://github.com/TechEmpower/FrameworkBenchmarks For simplest benches requirements are easy: just set couple headers and return cashed in memory JSON or plain text resource. Full list of requirements: http://frameworkbenchmarks.readthedocs.org/en/latest/Project-Information/Framework-Tests/#specific-test-requirements

Need to improve performance of header creation. Make a concat function that takes in an offset of destination string. This way it wont need to calculate the length every time...

enhancement