Skip to content

stream: allow registering a user-provided TLS constructor#3465

Merged
ethomson merged 2 commits into
masterfrom
cmn/tls-register
Nov 4, 2015
Merged

stream: allow registering a user-provided TLS constructor#3465
ethomson merged 2 commits into
masterfrom
cmn/tls-register

Conversation

@carlosmn

Copy link
Copy Markdown
Member

This allows the application to use their own TLS stream, regardless of
the capabilities of libgit2 itself.


The naming feels a bit all over the place, so suggestions there would be great.

@tkelman tkelman mentioned this pull request Oct 13, 2015
@carlosmn carlosmn force-pushed the cmn/tls-register branch 2 times, most recently from 12ae5c1 to 50b6261 Compare October 13, 2015 13:33
@tkelman

tkelman commented Nov 1, 2015

Copy link
Copy Markdown
Contributor

Will this make it into 0.24.0?

Comment thread include/git2/sys/stream.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think that this might slightly better match some of the existing type names if it were git_stream_cb. (See for example git_transport_cb which has a similar purpose.)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

@ethomson

ethomson commented Nov 2, 2015

Copy link
Copy Markdown
Member

Minor nit on the name, otherwise 👍

@carlosmn carlosmn force-pushed the cmn/tls-register branch 2 times, most recently from 98fc0a8 to 5acca4b Compare November 3, 2015 16:08
This allows the application to use their own TLS stream, regardless of
the capabilities of libgit2 itself.
ethomson added a commit that referenced this pull request Nov 4, 2015
stream: allow registering a user-provided TLS constructor
@ethomson ethomson merged commit 5aa28a8 into master Nov 4, 2015
@tkelman

tkelman commented Nov 4, 2015

Copy link
Copy Markdown
Contributor

Lovely, thanks!

@carlosmn carlosmn deleted the cmn/tls-register branch December 9, 2015 02:18
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.

3 participants