Zend Framework

Unable to send simultaneous requests

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.7.0
  • Fix Version/s: None
  • Component/s: Zend_Amf
  • Labels:
    None

Description

When trying to send two or more requests at the same time on the same connection object, I receive a Client.Data.Underflow error for each request following the first one. This is the offending code:

var responder:Responder= new Responder(this.handleUserFilters,Application.application.faultHandler);
WebService.call("Web_Service_Model.getUserFilters",responder,filterID);

var responder2:Responder=new Responder(handleFilterProperties,Application.application.faultHandler);
WebService.call("Web_Service_model.getFilterProperties",responder2,filterID);

The second web service call will generate the error. I have been able to work around the issue by creating a function that makes a new NetConnection object for each call requested, however I know that AMF should be capable of handling simultaneous requests as I am coming over from AMFPHP where such a thing was possible.

Issue Links

Activity

Hide
Wade Arnold added a comment -

Can you submit a complete AS class file for this bug. I am unable to recreate this issue.

Show
Wade Arnold added a comment - Can you submit a complete AS class file for this bug. I am unable to recreate this issue.
Hide
Andreas Adam added a comment -

I had this problem to. But now - after using the patch from Stefan Klug - it runs fine.
Wade: Will you integrate the patch from stefan in the next version?

Show
Andreas Adam added a comment - I had this problem to. But now - after using the patch from Stefan Klug - it runs fine. Wade: Will you integrate the patch from stefan in the next version?
Hide
Wade Arnold added a comment -

Issue is dependent on ZF-6393

Show
Wade Arnold added a comment - Issue is dependent on ZF-6393
Hide
Wade Arnold added a comment -

resolved by ZF-6393

Show
Wade Arnold added a comment - resolved by ZF-6393

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: