Skip to content

hemu/server-asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP server written in assembly.

Runs on localhost:3001

  • Handles multiple requests async
  • It can only handle very contrived requests:
    • GET request to fetch a file on disk
    • POST request to append to a file (with hardcoded expected format in request)

To build:

make

run (will also build):

./run

See test/ directory for sending test GET and POST requests

TODO:

  • when sever is started, display a message indicating that it is running on localhost:3001
  • get read/write to tests/ directory working. Right now only works for read/write to directories like /tmp
  • figure out why POST request writes unnecessary bytes to file

About

http server written in asm that can handle contrived requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published