This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
forked from chris-morgan/rust-http
-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make header input names for value_from_stream case insensitive
Replaced bytes! with byte literals.
The Request is moved into handle_request
Nightly breaks
The command supplied to "build" is not actually run in a shell, so you have to bundle your pre-build commands into a script.
Added Cargo
This will probably break SSL_LIB/SSL_CFG stuff for existing makefiles; if you need to, delete `Makefile` and run `configure` again.
I had made the change to my own Makefile, but forgot about Makefile.in…
Indexing &str has been removed from rust, instead we have to treat the string as &[u8] using as_bytes() and index into that array.
Avoid indexing &str to be compatible with current rust master
Fixes for the liburl changes
This is with: rustc 0.11.0-nightly (1c711db551b9a5e56ba76e002e287dcfbb2cff3c 2014-07-09 00:36:40 +0000) I assume it's going to be a breaking change, so here it is.
Nightlies have changed to_str -> to_string
Hygiene means that `include!` is practically useless now. The new approach is just writing out a full module and passing the stream to a function in it.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merge from upstream and a small makefile change.