Opened 13 years ago
Closed 13 years ago
#9970 closed Bug Report - Crash (fixed)
http_server prevents start up
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description (last modified by )
If one has a proxy configured in the http_proxy environment variable, current master will not start. A log of a start up with an environment variable set such as:
http_proxy=http://proxy:3128/
is attached.
Attachments (1)
Change History (4)
Changed 13 years ago by
Attachment: | mythbackend.log added |
---|
comment:2 Changed 13 years ago by
Please attach the debug log rather than the console log. I see a couple odd messages in there that I would like to look into fixing as well.
comment:3 Changed 13 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fix HTTP Proxy usage.
When we setup the http proxy, we were using as a type HttpProxy?, when it should have been HttpCachingProxy? (as we are using it *only* for HTTP requests). This allowed when we did a listen that it would try to proxy the incoming connections as far as I can tell.
Also, to be absolutely sure, when we use a MythServer? or the HTTPServer, we now set the connection's proxy to NoProxy? before calling the listen. This keeps it from even trying.
Fixes #9970
Branch: master Changeset: e5784de119e06c8c21fdead0fd728fe773f7f6f0
Moving log to ticket so it won't be lost on pastebin expiry.