Skip to content

Add enough tls.ConnectionState and tls.CipherSuiteName() to compile fortio/log#4345

Merged
deadprogram merged 2 commits intotinygo-org:devfrom
ldemailly:tls_fix
Jul 20, 2024
Merged

Add enough tls.ConnectionState and tls.CipherSuiteName() to compile fortio/log#4345
deadprogram merged 2 commits intotinygo-org:devfrom
ldemailly:tls_fix

Conversation

@ldemailly
Copy link
Copy Markdown
Contributor

@ldemailly ldemailly commented Jul 18, 2024

Note that net/http is broken on macOS but this allows it to work on Linux (and waspi)

edit: linux also doesn't work #4346

// TINYGO: empty; TLS connection offloaded to device
// TINYGO: empty; TLS connection offloaded to device [?]
//
// Minimum (empty) fields for fortio.org/log http logging to
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the broader implication? net/http compatibility?

Copy link
Copy Markdown
Contributor Author

@ldemailly ldemailly Jul 18, 2024

Choose a reason for hiding this comment

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

well... if I ever get a super simple server working with tinygo, it'd have the logging I use elsewhere for servers... I haven't tried others but mine does need these fields even empty to compile

edit: the wip test is https://github.com/ldemailly/go-scratch/blob/main/tinyhttp/tinyhttp.go

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

in short it's incremental progress - can we merge?

Copy link
Copy Markdown
Member

@dgryski dgryski left a comment

Choose a reason for hiding this comment

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

LGTM

@ldemailly
Copy link
Copy Markdown
Contributor Author

@deadprogram thanks for having merged the other, what about this one :) cheers

@ldemailly
Copy link
Copy Markdown
Contributor Author

(just rebased)

@deadprogram
Copy link
Copy Markdown
Member

Thanks for the addition @ldemailly and to @dgryski for review. Now merging.

@deadprogram deadprogram merged commit 319683b into tinygo-org:dev Jul 20, 2024
@ldemailly ldemailly deleted the tls_fix branch July 20, 2024 19:17
@ldemailly
Copy link
Copy Markdown
Contributor Author

thx! ❤️

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.

4 participants