[GH-ISSUE #10586] support HTTP/2.0? #69024

Open
opened 2026-05-04 16:53:48 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @XuGongming on GitHub (May 6, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10586

I see that ollama defaults to HTTP/1.1. Can it currently support HTTP/2.0?

Originally created by @XuGongming on GitHub (May 6, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10586 I see that ollama defaults to HTTP/1.1. Can it currently support HTTP/2.0?
GiteaMirror added the feature request label 2026-05-04 16:53:48 -05:00
Author
Owner

@qiulaidongfeng commented on GitHub (May 15, 2025):

See https://pkg.go.dev/net/http#hdr-HTTP_2 , this requires tls by default, but https://pkg.go.dev/net/http#Protocols provided by go1.24 support for serving unencrypted HTTP/2 connections.
Do we need unencrypted http2?

<!-- gh-comment-id:2882838599 --> @qiulaidongfeng commented on GitHub (May 15, 2025): See https://pkg.go.dev/net/http#hdr-HTTP_2 , this requires tls by default, but https://pkg.go.dev/net/http#Protocols provided by go1.24 support for serving unencrypted HTTP/2 connections. Do we need unencrypted http2?
Author
Owner

@Stitch10925 commented on GitHub (Mar 8, 2026):

Would be interesting for local setups where https is not always possible

<!-- gh-comment-id:4020041368 --> @Stitch10925 commented on GitHub (Mar 8, 2026): Would be interesting for local setups where https is not always possible
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#69024