Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridging smoltcp and tiny-http #240

Merged
merged 19 commits into from
Jan 14, 2025

Conversation

ananyabalagere
Copy link
Contributor

Includes modified tiny-http as a submodule.
Modifications made to the following files:

  • connection.rs
  • shim.rs
  • lib.rs

Includes a shim that allows smoltcp sockets to be used using the Rust std::net::{TcpStream, TcpListener} interfaces.

@ananyabalagere ananyabalagere marked this pull request as draft January 10, 2025 18:48
@ananyabalagere ananyabalagere marked this pull request as ready for review January 10, 2025 21:44
Copy link
Contributor

@dbittman dbittman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple small things

handle_connection(stream);
Ok(())
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to keep this commented code around? If no, let's remove it

.gitmodules Outdated
@@ -9,3 +9,6 @@
[submodule "src/abi"]
path = src/abi
url = ../../twizzler-operating-system/abi.git
[submodule "src/bin/src/bin/test-tiny-http/src/tiny-http-twizzler"]
path = src/bin/src/bin/test-tiny-http/src/tiny-http-twizzler
url = [email protected]:ClariseTG/tiny-http-twizzler.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to update this to twizzler-operating-system/tiny-http-twizzler. I just moved the repo, so it should work.

@dbittman dbittman self-requested a review January 14, 2025 03:29
@dbittman dbittman merged commit 8361676 into twizzler-operating-system:main Jan 14, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants