[PR #64] [MERGED] Do not seg fault on client disconnect #41206

Closed
opened 2026-04-24 21:07:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/64
Author: @BruceMacD
Created: 7/10/2023
Status: Merged
Merged: 7/10/2023
Merged by: @jmorganca

Base: b2Head: b2-nopanic


📝 Commits (1)

  • 642cd63 do not panic on diconnect

📊 Changes

2 files changed (+30 additions, -14 deletions)

View changed files

📝 llama/llama.go (+11 -6)
📝 server/routes.go (+19 -8)

📄 Description

This was nicer to fix on the revised b2 branch, so this is a pull request into that simplified change


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/64 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 7/10/2023 **Status:** ✅ Merged **Merged:** 7/10/2023 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `b2` ← **Head:** `b2-nopanic` --- ### 📝 Commits (1) - [`642cd63`](https://github.com/ollama/ollama/commit/642cd63759e602a2a8f6148fde05ddfb9820af07) do not panic on diconnect ### 📊 Changes **2 files changed** (+30 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `llama/llama.go` (+11 -6) 📝 `server/routes.go` (+19 -8) </details> ### 📄 Description This was nicer to fix on the revised `b2` branch, so this is a pull request into that simplified change --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 21:07:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#41206