Skip to content
This repository was archived by the owner on Apr 1, 2019. It is now read-only.
This repository was 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

Description

@Daijobou

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. :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions