cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8977) cloudstack UI creates a session for users not yet logged in
Date Fri, 30 Oct 2015 10:47:27 GMT


ASF GitHub Bot commented on CLOUDSTACK-8977:

Github user miguelaferreira commented on the pull request:
    After digging in a bit more, I've debugged the browser session when hitting the home page
with `session="false"` what I see is that the page is not even completely downloaded. My best
guess is that the server stops responding when the exceptions I've posted in the previous
comment happen. And because the page was not completely downloaded it is also not well rendered.
In addition the script tags are at the end of the page, so none of the dynamics will work
    Researching for similar problems took me to a stackoverflow question
    In the accepted answer, the poster explains that the exception (which is the same as I
see, "Cannot create a session after the response has been committed") has to do with trying
to write to a response that has be already committed (i.e. already sent to the client). The
poster also mentions that the response is automatically flushed (i.e. sent to the client)
when it reached a size of 2K (I assume 2K bytes). Then looking at the size of the html generated
for the ACS home page one can easily see that it is way larger than the 2K (actually it is
226K large).
    While not being an expert on these matters, it seems to me that the culprit is the sheer
size and complexity of this webpage. How it actually works with our the `session="false"`
declaration is a mystery to me.

> cloudstack UI creates a session for users not yet logged in
> -----------------------------------------------------------
>                 Key: CLOUDSTACK-8977
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.5.2
>            Reporter: Laszlo Hornyak
>            Assignee: Laszlo Hornyak
>             Fix For: Future
>   Original Estimate: 0.1h
>  Remaining Estimate: 0.1h
> The cloudstack UI always creates a session. By executing a command like 'ab -n 200000
-c 32' the server can be killed reqlly quick.

This message was sent by Atlassian JIRA

View raw message