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

Last update for warp 3.3.30 #947

Merged
merged 4 commits into from
Oct 17, 2023

Conversation

Vlix
Copy link
Contributor

@Vlix Vlix commented Oct 13, 2023

  • Update the Changelog.md file with a link to your PR
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts)

@@ -10,7 +8,7 @@ import Network.Wai.Handler.Warp.Buffer
import Network.Wai.Handler.Warp.Imports
import Network.Wai.Handler.Warp.Types

toBufIOWith :: Int -> IORef WriteBuffer -> (ByteString -> IO ()) -> Builder -> IO Int
toBufIOWith :: Int -> IORef WriteBuffer -> (ByteString -> IO ()) -> Builder -> IO Integer
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't Int64 good enough?

Copy link
Contributor Author

@Vlix Vlix Oct 16, 2023

Choose a reason for hiding this comment

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

Would also be fine, but then we'd have to fromIntegral it to Integer at the next step anyway. So thought, why not just do Integer immediately.

EDIT: This reminded me I hadn't actually removed the fromIntegral, I've done that now.

@Vlix
Copy link
Contributor Author

Vlix commented Oct 16, 2023

Removed the fromIntegral that changes the length type to Integer

@kazu-yamamoto kazu-yamamoto self-requested a review October 17, 2023 07:30
Copy link
Contributor

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

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

Now LGTM!

@kazu-yamamoto kazu-yamamoto merged commit db5c7a5 into yesodweb:master Oct 17, 2023
15 checks passed
@kazu-yamamoto
Copy link
Contributor

Merged. Thanks!

@Vlix Vlix deleted the last-update-for-warp-3.3.30 branch October 17, 2023 11:21
@Vlix
Copy link
Contributor Author

Vlix commented Oct 24, 2023

Tagged commit as warp-3.3.30 and uploaded to hackage.

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