Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

Bug in "[Bug Report] undefined header "Content-Type" for output the captcha challenge" #2

Open
Daijobou opened this issue Apr 30, 2010 · 1 comment

Comments

@Daijobou
Copy link

With the actual Version I get often very long page loading time. Firebug says Keep-Alive: 5

I have fix this for me:

...\kohana\modules\captcha\classes\controller\captcha.php

FIND:
$this->request->headers['Content-Type'] = File::mime($captcha);

AFTER ADD NEW LINE:
$this->request->headers['Connection'] = 'close';

I hope this help. :)

@kolanos
Copy link
Owner

kolanos commented May 10, 2010

Applied proposed fix in 4fe18f0 for testing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants