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

now: update 'now' as part of the easy handle instead of local variables #1709

Closed
wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Jul 28, 2017

... as the mix of both passing in current time and figuring it out
locally sometimes made "now" move in time in unexpected ways.

Curl_timeleft() got an updated prototype. The old defines for
Curl_tvnow() and Curl_tvdiff() are now removed.

Renamed the conn->new member to setup_time and fixed its use somewhat.

Moved the 'now' field from the SingleRequest struct within the easy
handle to the struct UrlState.

@mention-bot
Copy link

@bagder, thanks for your PR! By analyzing the history of the files in this pull request, we identified @yangtse, @jchaffraix and @dfandrich to be potential reviewers.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 75.188% when pulling ca917d0 on bagder/now-remade into 171f8de on master.

... as the mix of both passing in current time and figuring it out
locally sometimes made "now" move in time in unexpected ways.

Curl_timeleft() got an updated prototype. The old defines for
Curl_tvnow() and Curl_tvdiff() are now removed.

Renamed the conn->new member to setup_time and fixed its use somewhat.

Moved the 'now' field from the SingleRequest struct within the easy
handle to the struct UrlState.
@curl curl deleted a comment from coveralls Jul 29, 2017
@curl curl deleted a comment from coveralls Jul 29, 2017
@curl curl deleted a comment from coveralls Jul 29, 2017
@bagder
Copy link
Member Author

bagder commented Jul 29, 2017

Squashed and rebased the series now.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 75.228% when pulling 0bd2d07 on bagder/now-remade into de6de94 on master.

@bagder bagder added the on-hold label Aug 18, 2017
@bagder
Copy link
Member Author

bagder commented Oct 28, 2017

I'm putting this somewhere in the attic, maybe to bring back later. Or maybe not.

@bagder bagder closed this Oct 28, 2017
@bagder bagder deleted the bagder/now-remade branch October 28, 2017 18:32
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants