You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (JIRA)" <ji...@apache.org> on 2010/03/02 17:10:28 UTC
[jira] Created: (FELIX-2157) Login dialog delay
Login dialog delay
------------------
Key: FELIX-2157
URL: https://issues.apache.org/jira/browse/FELIX-2157
Project: Felix
Issue Type: Bug
Components: Web Console
Reporter: Valentin Valchev
Sometimes, on some browsers, when the user tries to open the web console it waits a long time before the authentication dialog is shown.
The reason is in OsgiManagerHttpContext after line 140:
response.setHeader( HEADER_WWW_AUTHENTICATE, AUTHENTICATION_SCHEME_BASIC + " realm=\"" + this.realm + "\"" );
response.setStatus( HttpServletResponse.SC_UNAUTHORIZED );
response.flushBuffer();
Sometimes, after this request the browser still expects some data. The fix is just one line, that should be added before the response is flushed:
response.setContentLength(0);
response.flushBuffer();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (FELIX-2157) Login dialog delay
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned FELIX-2157:
----------------------------------------
Assignee: Felix Meschberger
> Login dialog delay
> ------------------
>
> Key: FELIX-2157
> URL: https://issues.apache.org/jira/browse/FELIX-2157
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Reporter: Valentin Valchev
> Assignee: Felix Meschberger
>
> Sometimes, on some browsers, when the user tries to open the web console it waits a long time before the authentication dialog is shown.
> The reason is in OsgiManagerHttpContext after line 140:
> response.setHeader( HEADER_WWW_AUTHENTICATE, AUTHENTICATION_SCHEME_BASIC + " realm=\"" + this.realm + "\"" );
> response.setStatus( HttpServletResponse.SC_UNAUTHORIZED );
> response.flushBuffer();
> Sometimes, after this request the browser still expects some data. The fix is just one line, that should be added before the response is flushed:
> response.setContentLength(0);
> response.flushBuffer();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-2157) Login dialog delay
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-2157.
-----------------------------------
> Login dialog delay
> ------------------
>
> Key: FELIX-2157
> URL: https://issues.apache.org/jira/browse/FELIX-2157
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Reporter: Valentin Valchev
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
>
> Sometimes, on some browsers, when the user tries to open the web console it waits a long time before the authentication dialog is shown.
> The reason is in OsgiManagerHttpContext after line 140:
> response.setHeader( HEADER_WWW_AUTHENTICATE, AUTHENTICATION_SCHEME_BASIC + " realm=\"" + this.realm + "\"" );
> response.setStatus( HttpServletResponse.SC_UNAUTHORIZED );
> response.flushBuffer();
> Sometimes, after this request the browser still expects some data. The fix is just one line, that should be added before the response is flushed:
> response.setContentLength(0);
> response.flushBuffer();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-2157) Login dialog delay
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-2157.
--------------------------------------
Resolution: Fixed
Fix Version/s: webconsole-3.0.0
Thanks for tracking this issue down. I have added the content length setting in Rev. 918433.
> Login dialog delay
> ------------------
>
> Key: FELIX-2157
> URL: https://issues.apache.org/jira/browse/FELIX-2157
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Reporter: Valentin Valchev
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
>
> Sometimes, on some browsers, when the user tries to open the web console it waits a long time before the authentication dialog is shown.
> The reason is in OsgiManagerHttpContext after line 140:
> response.setHeader( HEADER_WWW_AUTHENTICATE, AUTHENTICATION_SCHEME_BASIC + " realm=\"" + this.realm + "\"" );
> response.setStatus( HttpServletResponse.SC_UNAUTHORIZED );
> response.flushBuffer();
> Sometimes, after this request the browser still expects some data. The fix is just one line, that should be added before the response is flushed:
> response.setContentLength(0);
> response.flushBuffer();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.