Can I wait for noteVbContentDone before consuming vb?
I am in the process of building an eCAP adapter against Squid 3.5.6. Squid is intercepting traffic and sending it through the adapter.
For most websites which I access through my adapter, everything seems to be fine. For example, I can go to ksl.com and everything finishes loading.
Odd behavior I am seeing in testing:
In some cases, websites freeze and never finish loading. By this I mean that the spinning 'loading' or 'connecting' indicator in FireFox does not disappear and the site is missing content. One example of this is Google: https:/
^^ With my adapter, nothing loads at all for that URL and FireFox remains 'spinning' forever.
Underlying behavior:
I added log messages to my eCAP adapter, and I am seeing the Xaction:
But Adapter:
Comments:
This does not appear to be an issue with my adapter and HTTPS, as it will load other HTTPS sites with no issues.
My adapter's behavior:
The adapter currently does not pull virgin response data when 'noteVbContentA
I was hoping to avoid the requirement of buffering the data in eCAP, to make using the virgin response body easier (just use 'lastHostCall(
I am not certain whether the issue is in my adapter or Squid. What are your thoughts?
One last thing: What's the difference between 'noteVbContentDone' with 'atEnd' = false vs 'atEnd' = true? Does 'atEnd' = false mean there might be more data?
Thanks for your time.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- eCAP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alex Rousskov
- Solved:
- Last query:
- Last reply: