{"id":25983761,"url":"https://github.com/excessphase/http","last_synced_at":"2026-04-20T14:32:18.904Z","repository":{"id":278638155,"uuid":"914867292","full_name":"ExcessPhase/http","owner":"ExcessPhase","description":"a http server to investigate lib_uring","archived":false,"fork":false,"pushed_at":"2025-04-05T13:27:38.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T14:25:18.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ExcessPhase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-10T13:23:38.000Z","updated_at":"2025-04-05T13:27:41.000Z","dependencies_parsed_at":"2025-04-05T14:23:22.066Z","dependency_job_id":"01fa3410-a135-4204-8778-9e59ff7ecc20","html_url":"https://github.com/ExcessPhase/http","commit_stats":null,"previous_names":["excessphase/http"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ExcessPhase/http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExcessPhase%2Fhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExcessPhase%2Fhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExcessPhase%2Fhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExcessPhase%2Fhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ExcessPhase","download_url":"https://codeload.github.com/ExcessPhase/http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExcessPhase%2Fhttp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32050899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-05T10:32:29.752Z","updated_at":"2026-04-20T14:32:18.861Z","avatar_url":"https://github.com/ExcessPhase.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http -- a prototype of a webserver for learning [io_uring](https://github.com/axboe/liburing)\n\n**Author**: Peter Foelsche |\n**Date**: February 2025 |\n**Location**: Austin, TX, USA |\n**Email**: [peter_foelsche@outlook.com](mailto:peter_foelsche@outlook.com)\n\n## Introduction\n\nThis prototype was only intended for me to understand the asynchronous io library called [io_uring](https://github.com/axboe/liburing) library and to make it safe to use in C++ without running the risk of leaking memory or system handles.\nThe prototype currently only accepts connection requests and reads input from the client and answers if there is a GET request.\nThe main point established is how to nicely wrap the io_uring API into C++ leveraging RAII and Exception Handling.\nTo build just type `make` and run the created executable by typing `./http.exe` in a current directory with an `index.html` (e.g. the boost directory) into the same shell and enter `http://localhost:8080/` in a browser running on the same machine. Currently the http server works fine when running inside  `boost_1_87_0/index.html`.\nThe cpp files in this directory are:\n### http.cpp\nContains the `main()` function, the event loop and the handler code for asynchronous `accept()`- and `read()`and `write()`-requests.\n### io_data.h, io_data.cpp\nA abstract class serving for io_requests and the calling of handlers from the request.\n### io_uring_queue_init.h, io_uring_queue_init.cpp\nA RAII wrapper class for the function of the same name.\nA factory for `read()`- and `accept()` and `write()`-requests and their implementation.\n### io_uring_wait_cqe.h\nA RAII wrapper class for the function of the same name\n### socket.h\nA RAII wrapper class for the function of the same name\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcessphase%2Fhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexcessphase%2Fhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcessphase%2Fhttp/lists"}