Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Go 1.6 and HTTP/2
Search
Nathan Youngman
February 22, 2016
Programming
170
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Go 1.6 and HTTP/2
It Just Works*
Nathan Youngman
February 22, 2016
More Decks by Nathan Youngman
See All by Nathan Youngman
The Healthy Programmer
nathany
2
120
Go and Node.js: a comparison
nathany
1
280
Diet Hacks
nathany
2
410
Upgrading Rails Redux
nathany
1
110
GopherCon recap
nathany
0
210
Go Functions
nathany
0
120
Go Arrays & Slices
nathany
0
190
Go Types
nathany
2
150
Go Packages
nathany
2
580
Other Decks in Programming
See All in Programming
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.9k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
270
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
320
Workers Cache を知る
syumai
0
350
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
470
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
260
速習iPhone Duo対応
yuukiw00w
2
970
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
250
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
140
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
510
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
1
480
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
930
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
530
How to build a perfect <img>
jonoalderson
1
6.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.3k
KATA
mclloyd
PRO
35
16k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Building the Perfect Custom Keyboard
takai
2
900
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
The Pragmatic Product Professional
lauravandoore
37
7.5k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Transcript
Go 1.6 and HTTP/2 @nathany
It Just Works*
Server err := http.ListenAndServeTLS(":443", "cert.pem", "key.pem", nil)
Client response, err := http.Get("https:// http2.golang.org/reqinfo")
Issue #14391 • http.Client doesn't support http2 by default
Issue #14275 • net/http: Transport's automatic http2 too aggressive
golang.org/x/net/http2
Configure Transport transport := &http.Transport{} err := http2.ConfigureTransport(transport) if err
!= nil { log.Fatal(err) } client := &http.Client{Transport: transport} response, err := client.Get("https:// http2.golang.org/reqinfo")
Buford github.com/RobotsAndPencils/buford
Custom Cert func NewClient(cert tls.Certificate) (*http.Client, error) { config :=
&tls.Config{ Certificates: []tls.Certificate{cert}, } config.BuildNameToCertificate() transport := &http.Transport{TLSClientConfig: config} if err := http2.ConfigureTransport(transport); err != nil { return nil, err } return &http.Client{Transport: transport}, nil }