[richfaces-issues] [JBoss JIRA] Commented: (RF-4109) a4j:push and timeout attribute
Alex Tserbo (JIRA)
jira-events at lists.jboss.org
Mon Aug 11 12:17:50 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-4109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424456#action_12424456 ]
Alex Tserbo commented on RF-4109:
---------------------------------
The post was commented. Below is the original text:
"Hi, digitalseraphim !
This is not a bug and guide's description is correct. The reason is in the request type ( ilya_shaikovsky was right).
Here is how the stuff works:
a) <a4j:push> sends HEAD-requests, that check for messages about an event;
b) if there is no message in the queue (no event), HEAD-responses come back with nothing to be processed ("empty" responds);
c) if there is a message (event exists), then HEAD-response comes back with Ajax-Push-Status "READY" (use FireBug plug-in for Firefox to explore that);
d) the response with "READY" status triggers POST-request, that works trough full JSF lifecycle, and POST-response bring back new information to be rendered;
e) this POST-request/response considered as "normal" in ilya's post; so, "timeout" time spreads exactly to this type of request, that's it!
P.S.: In your example all the requests/responses are "empty". So, "timeout" was not used. Time from 0 (connection opened) to 58 (empty response, connection closed) is in milliseconds; it is insignificantly time, that had been taken to proceed an "empty" request/response.
Regards,
docteam
"
> a4j:push and timeout attribute
> ------------------------------
>
> Key: RF-4109
> URL: https://jira.jboss.org/jira/browse/RF-4109
> Project: RichFaces
> Issue Type: Task
> Components: doc
> Affects Versions: 3.2.1
> Reporter: Svetlana mukhina
> Assignee: Alex Tserbo
> Fix For: 3.2.2
>
>
> help the user with this post - http://jboss.com/index.html?module=bb&op=viewtopic&t=140365
> correct the guide if necessary
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list