Skip to content

Commit e33616e

Browse files
author
Paul C
committed
v0.3.0 - Fix proxy header handling for nginx compatibility
Key fixes: - Fixed proxy_set_header parsing to properly strip quotes from values - Empty header values (e.g., Connection "") now correctly omit the header instead of sending empty value - Added HTTP/1.1 version explicitly to proxy requests - Skip content-length header (let hyper calculate from body) - Improved HTTP connector with TCP nodelay and keepalive settings These fixes ensure proper compatibility with OpenSim/Firestorm login requests.
1 parent bdf26d4 commit e33616e

7 files changed

Lines changed: 336 additions & 274 deletions

File tree

β€Ž.codewolf/conversation_codewolf.jsonβ€Ž

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,48 @@
509509
"role": "system",
510510
"content": "\n╔═══════════════════════════════════════╗\nβ•‘ 🐺 CODEWOLF DIAGNOSTICS β•‘\nβ•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•\n\nπŸ“ WORKSPACE\n 1. wolfproxy (/home/paulc/NetBeansProjects/wolfproxy)\n\nπŸ’Ύ DATABASE CONFIG\n Host: 127.0.0.1\n Database: firestorm\n Username: lone\n Project: codewolf\n\nπŸ”„ TRANSLATION/REWRITING MODE\n From: c\n To: web application with php, html and javascript\n Source dir: /home/paulc/NetBeansProjects/firestorm/viewercode/\n Dest dir: /home/paulc/NetBeansProjects/firestorm/wolfstorm/\n ⚠️ Will examine source files first\n Context: This is a rewrite of the Firestorm OpenSim/Second Life viewer from c# to a beaut...\n\nπŸ€– AI MODELS CONFIG\n AI-1: local/gemini-2.5-flash\n AI-2: local/gemini-2.5-flash\n\nπŸ” CONNECTIVITY TESTS\n ⚠️ AI-1: Error: Ollama/Local AI request failed: Ollama request failed: Not Found\n\nPossible causes:\nβ€’ Ollama server not running (start with: ollama serve)\nβ€’ Incorrect host URL in settings\nβ€’ Model not pulled (run: ollama pull <model>)\nβ€’ Network connectivity issues\nβ€’ Port conflict or firewall blocking\n\nCheck settings: AI-1/AI-2 Provider and Local AI Host\n ⚠️ AI-2: Error: Ollama/Local AI request failed: Ollama request failed: Not Found\n\nPossible causes:\nβ€’ Ollama server not running (start with: ollama serve)\nβ€’ Incorrect host URL in settings\nβ€’ Model not pulled (run: ollama pull <model>)\nβ€’ Network connectivity issues\nβ€’ Port conflict or firewall blocking\n\nCheck settings: AI-1/AI-2 Provider and Local AI Host\n\nπŸ’Ύ DATABASE STRUCTURE & CONTENTS\n βœ… Connection: Successful\n πŸ“‹ Database Tables (All Projects):\n β€’ code_entities: 17186 total records\n β€’ code_relationships: 9085 total records\n β€’ indexed_files: 1739 files\n\n πŸ“‚ SOURCE PROJECT: \"codewolf\"\n β€’ Entities indexed: 10038\n β€’ Relationships: 9085\n β€’ Files indexed: 1739\n\n πŸ“‘ Source Entity Types:\n β€’ class: 6788\n β€’ function: 3250\n\n πŸ”€ Source Languages:\n β€’ c: 8190 entities\n β€’ cpp: 1441 entities\n β€’ python: 338 entities\n β€’ r: 64 entities\n β€’ shell: 5 entities\n\n βœ… Source code indexed with 10038 entities!\n\n 🎯 DESTINATION PROJECT: \"codewolf-dest\"\n β€’ Entities indexed: 119\n β€’ Relationships: 0\n β€’ Files indexed: 98\n\n πŸ“‘ Destination Entity Types:\n β€’ class: 103\n β€’ function: 16\n\n πŸ”€ Destination Languages:\n β€’ javascript: 104 entities\n β€’ php: 8 entities\n β€’ python: 7 entities\n\n βœ… Destination code indexed with 119 entities!\n\n⚠️ Some systems need attention\n\nTroubleshooting:\nβ€’ Check API keys: Ctrl+, β†’ Search \"AI Code Assistant\"\nβ€’ Verify database: sudo systemctl status mariadb\nβ€’ Run indexer: python3 code_indexer.py\nβ€’ Check logs: View > Output > CodeWolf\nβ€’ Restart diagnostics: Ctrl+Shift+P β†’ \"Run System Diagnostics\"\n\n",
511511
"timestamp": "2026-01-19T05:36:09.555Z"
512+
},
513+
{
514+
"role": "system",
515+
"content": "πŸ” Testing AI-1 (Architect)...",
516+
"timestamp": "2026-01-20T02:12:51.830Z"
517+
},
518+
{
519+
"role": "system",
520+
"content": "πŸ” Testing AI-2 (Implementer)...",
521+
"timestamp": "2026-01-20T02:12:51.839Z"
522+
},
523+
{
524+
"role": "system",
525+
"content": "πŸ” Testing database connection and scanning indexed code...",
526+
"timestamp": "2026-01-20T02:12:51.848Z"
527+
},
528+
{
529+
"role": "system",
530+
"content": "\n╔═══════════════════════════════════════╗\nβ•‘ 🐺 CODEWOLF DIAGNOSTICS β•‘\nβ•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•\n\nπŸ“ WORKSPACE\n 1. wolfproxy (/home/paulc/NetBeansProjects/wolfproxy)\n\nπŸ’Ύ DATABASE CONFIG\n Host: 127.0.0.1\n Database: firestorm\n Username: lone\n Project: codewolf\n\nπŸ”„ TRANSLATION/REWRITING MODE\n From: c\n To: web application with php, html and javascript\n Source dir: /home/paulc/NetBeansProjects/firestorm/viewercode/\n Dest dir: /home/paulc/NetBeansProjects/firestorm/wolfstorm/\n ⚠️ Will examine source files first\n Context: This is a rewrite of the Firestorm OpenSim/Second Life viewer from c# to a beaut...\n\nπŸ€– AI MODELS CONFIG\n AI-1: local/gemini-2.5-flash\n AI-2: local/gemini-2.5-flash\n\nπŸ” CONNECTIVITY TESTS\n ⚠️ AI-1: Error: Ollama/Local AI request failed: Ollama request failed: Not Found\n\nPossible causes:\nβ€’ Ollama server not running (start with: ollama serve)\nβ€’ Incorrect host URL in settings\nβ€’ Model not pulled (run: ollama pull <model>)\nβ€’ Network connectivity issues\nβ€’ Port conflict or firewall blocking\n\nCheck settings: AI-1/AI-2 Provider and Local AI Host\n ⚠️ AI-2: Error: Ollama/Local AI request failed: Ollama request failed: Not Found\n\nPossible causes:\nβ€’ Ollama server not running (start with: ollama serve)\nβ€’ Incorrect host URL in settings\nβ€’ Model not pulled (run: ollama pull <model>)\nβ€’ Network connectivity issues\nβ€’ Port conflict or firewall blocking\n\nCheck settings: AI-1/AI-2 Provider and Local AI Host\n\nπŸ’Ύ DATABASE STRUCTURE & CONTENTS\n βœ… Connection: Successful\n πŸ“‹ Database Tables (All Projects):\n β€’ code_entities: 17186 total records\n β€’ code_relationships: 9085 total records\n β€’ indexed_files: 1739 files\n\n πŸ“‚ SOURCE PROJECT: \"codewolf\"\n β€’ Entities indexed: 10038\n β€’ Relationships: 9085\n β€’ Files indexed: 1739\n\n πŸ“‘ Source Entity Types:\n β€’ class: 6788\n β€’ function: 3250\n\n πŸ”€ Source Languages:\n β€’ c: 8190 entities\n β€’ cpp: 1441 entities\n β€’ python: 338 entities\n β€’ r: 64 entities\n β€’ shell: 5 entities\n\n βœ… Source code indexed with 10038 entities!\n\n 🎯 DESTINATION PROJECT: \"codewolf-dest\"\n β€’ Entities indexed: 119\n β€’ Relationships: 0\n β€’ Files indexed: 98\n\n πŸ“‘ Destination Entity Types:\n β€’ class: 103\n β€’ function: 16\n\n πŸ”€ Destination Languages:\n β€’ javascript: 104 entities\n β€’ php: 8 entities\n β€’ python: 7 entities\n\n βœ… Destination code indexed with 119 entities!\n\n⚠️ Some systems need attention\n\nTroubleshooting:\nβ€’ Check API keys: Ctrl+, β†’ Search \"AI Code Assistant\"\nβ€’ Verify database: sudo systemctl status mariadb\nβ€’ Run indexer: python3 code_indexer.py\nβ€’ Check logs: View > Output > CodeWolf\nβ€’ Restart diagnostics: Ctrl+Shift+P β†’ \"Run System Diagnostics\"\n\n",
531+
"timestamp": "2026-01-20T02:12:51.972Z"
532+
},
533+
{
534+
"role": "system",
535+
"content": "πŸ” Testing AI-1 (Architect)...",
536+
"timestamp": "2026-01-20T02:12:52.543Z"
537+
},
538+
{
539+
"role": "system",
540+
"content": "πŸ” Testing AI-2 (Implementer)...",
541+
"timestamp": "2026-01-20T02:12:52.549Z"
542+
},
543+
{
544+
"role": "system",
545+
"content": "πŸ” Testing database connection and scanning indexed code...",
546+
"timestamp": "2026-01-20T02:12:52.552Z"
547+
},
548+
{
549+
"role": "system",
550+
"content": "\n╔═══════════════════════════════════════╗\nβ•‘ 🐺 CODEWOLF DIAGNOSTICS β•‘\nβ•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•\n\nπŸ“ WORKSPACE\n 1. wolfproxy (/home/paulc/NetBeansProjects/wolfproxy)\n\nπŸ’Ύ DATABASE CONFIG\n Host: 127.0.0.1\n Database: firestorm\n Username: lone\n Project: codewolf\n\nπŸ”„ TRANSLATION/REWRITING MODE\n From: c\n To: web application with php, html and javascript\n Source dir: /home/paulc/NetBeansProjects/firestorm/viewercode/\n Dest dir: /home/paulc/NetBeansProjects/firestorm/wolfstorm/\n ⚠️ Will examine source files first\n Context: This is a rewrite of the Firestorm OpenSim/Second Life viewer from c# to a beaut...\n\nπŸ€– AI MODELS CONFIG\n AI-1: local/gemini-2.5-flash\n AI-2: local/gemini-2.5-flash\n\nπŸ” CONNECTIVITY TESTS\n ⚠️ AI-1: Error: Ollama/Local AI request failed: Ollama request failed: Not Found\n\nPossible causes:\nβ€’ Ollama server not running (start with: ollama serve)\nβ€’ Incorrect host URL in settings\nβ€’ Model not pulled (run: ollama pull <model>)\nβ€’ Network connectivity issues\nβ€’ Port conflict or firewall blocking\n\nCheck settings: AI-1/AI-2 Provider and Local AI Host\n ⚠️ AI-2: Error: Ollama/Local AI request failed: Ollama request failed: Not Found\n\nPossible causes:\nβ€’ Ollama server not running (start with: ollama serve)\nβ€’ Incorrect host URL in settings\nβ€’ Model not pulled (run: ollama pull <model>)\nβ€’ Network connectivity issues\nβ€’ Port conflict or firewall blocking\n\nCheck settings: AI-1/AI-2 Provider and Local AI Host\n\nπŸ’Ύ DATABASE STRUCTURE & CONTENTS\n βœ… Connection: Successful\n πŸ“‹ Database Tables (All Projects):\n β€’ code_entities: 17186 total records\n β€’ code_relationships: 9085 total records\n β€’ indexed_files: 1739 files\n\n πŸ“‚ SOURCE PROJECT: \"codewolf\"\n β€’ Entities indexed: 10038\n β€’ Relationships: 9085\n β€’ Files indexed: 1739\n\n πŸ“‘ Source Entity Types:\n β€’ class: 6788\n β€’ function: 3250\n\n πŸ”€ Source Languages:\n β€’ c: 8190 entities\n β€’ cpp: 1441 entities\n β€’ python: 338 entities\n β€’ r: 64 entities\n β€’ shell: 5 entities\n\n βœ… Source code indexed with 10038 entities!\n\n 🎯 DESTINATION PROJECT: \"codewolf-dest\"\n β€’ Entities indexed: 119\n β€’ Relationships: 0\n β€’ Files indexed: 98\n\n πŸ“‘ Destination Entity Types:\n β€’ class: 103\n β€’ function: 16\n\n πŸ”€ Destination Languages:\n β€’ javascript: 104 entities\n β€’ php: 8 entities\n β€’ python: 7 entities\n\n βœ… Destination code indexed with 119 entities!\n\n⚠️ Some systems need attention\n\nTroubleshooting:\nβ€’ Check API keys: Ctrl+, β†’ Search \"AI Code Assistant\"\nβ€’ Verify database: sudo systemctl status mariadb\nβ€’ Run indexer: python3 code_indexer.py\nβ€’ Check logs: View > Output > CodeWolf\nβ€’ Restart diagnostics: Ctrl+Shift+P β†’ \"Run System Diagnostics\"\n\n",
551+
"timestamp": "2026-01-20T02:12:52.583Z"
512552
}
513553
],
514554
"context": null,
515-
"lastUpdated": "2026-01-19T05:36:09.555Z"
555+
"lastUpdated": "2026-01-20T02:12:52.584Z"
516556
}

β€ŽCargo.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wolfproxy"
3-
version = "0.1.0"
3+
version = "0.3.0"
44
edition = "2021"
55
description = "A Rust-based nginx proxy replacement that reads nginx configuration files"
66
authors = ["Wolf Software Systems Ltd"]

0 commit comments

Comments
Β (0)