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

TS-4518 Add the basic APIs and code for UUIDs #736

Closed
wants to merge 1 commit into from

Conversation

zwoop
Copy link
Contributor

@zwoop zwoop commented Jun 23, 2016

This implements the UUID stuff, as well as exposing the TXN ID in a TS API.

@atsci
Copy link

atsci commented Jun 23, 2016

Linux build failed! See https://ci.trafficserver.apache.org/job/Github-Linux/227/ for details.

@atsci
Copy link

atsci commented Jun 23, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/333/ for details.

@atsci
Copy link

atsci commented Jun 23, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/334/ for details.

@atsci
Copy link

atsci commented Jun 23, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/228/ for details.

TS_UUID_V5,
} TSUuidVersion;

#define TSUuidStringLen 36
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be TS_UUID_STRING_LEN to be consistent with TS_MAX_USER_NAME_LEN, which is the only precedent I could find :)

@jpeach
Copy link
Contributor

jpeach commented Jun 24, 2016

Looks pretty good to me. I just had some minor comments, mainly style suggestions.

👍

@zwoop zwoop added this to the 7.0.0 milestone Jun 26, 2016
@zwoop
Copy link
Contributor Author

zwoop commented Jun 26, 2016

@jpeach Agree with all the review comments, will address asap and post an update tomorrow (monday). Note that this also changes TSDestroy() to have no failure scenario, so for correctness I'm changing its prototype to

void TSDestroy(TSUuid uuid);

This is inline with other Destroy() functions that can not fail.

@zwoop zwoop force-pushed the TS-4518 branch 3 times, most recently from 86548fa to 71b4681 Compare June 27, 2016 01:51
@atsci
Copy link

atsci commented Jun 27, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/242/ for details.

@atsci
Copy link

atsci commented Jun 27, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/348/ for details.

This example uses :func:`TSDebugSpecific` to log a message when a specific
debugging flag is enabled::

#include <ts/apidefs.h>
Copy link
Contributor

Choose a reason for hiding this comment

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

Nuke this line.

@jpeach
Copy link
Contributor

jpeach commented Jun 27, 2016

Looks good 👍

@zwoop zwoop force-pushed the TS-4518 branch 2 times, most recently from 35e35ec to 05e509b Compare June 27, 2016 16:41
@atsci
Copy link

atsci commented Jun 27, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/244/ for details.

@atsci
Copy link

atsci commented Jun 27, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/350/ for details.

@atsci
Copy link

atsci commented Jun 27, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/351/ for details.

@atsci
Copy link

atsci commented Jun 27, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/245/ for details.

@zwoop zwoop closed this Jun 27, 2016
@zwoop zwoop deleted the TS-4518 branch June 27, 2016 17:47
@zwoop zwoop modified the milestone: 7.0.0 May 4, 2017
@zwoop zwoop unassigned jpeach May 4, 2017
JosiahWI pushed a commit to JosiahWI/trafficserver that referenced this pull request Jul 19, 2023
Revert "Change the default value for request_line_max_size to 32KB (#…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants