Forum Discussion
Sideband connection only receives 933 bytes?
Thanks for the reply, nitass.
I did some more investigation into what I'm seeing. I have replicated your results with the [string length $recv_data1], but it turns out it's actually printing the contents of $recv_data1 that my issue appears.
I modified your iRule as such:
log local0. "Recv1: [string length $recv_data1]"
log local0. "Recv1: $recv_data1"
log local0. "Recv2: [string length $recv_data2]"
log local0. "Recv2: $recv_data2"
This is what I get in the logs. Notice the second "Recv2" line. If you count up the bytes actually printed by the ' log local0. "Recv2: $recv_data2"' statement, you'll see it's only 933 bytes of data. Recv2 includes all of the 'a' characters, btw. So the [string length $recv_data2] lists the correct number of bytes returned by the sideband recv statement, but printing the variable only gives 933 bytes....
Feb 5 11:17:38 bigip11sysb info tmm[8422]: Rule /Common/amex_irule : Peek: 1518
Feb 5 11:17:39 bigip11sysb info tmm[8422]: Rule /Common/amex_irule : Peek: 1518
Feb 5 11:17:44 bigip11sysb info tmm[8422]: Rule /Common/amex_irule : Recv1: 16
Feb 5 11:17:44 bigip11sysb info tmm[8422]: Rule /Common/amex_irule : Recv1: HTTP/1.1 200 OK
Feb 5 11:17:44 bigip11sysb info tmm[8422]: Rule /Common/amex_irule : Recv2: 1502
Feb 5 11:17:44 bigip11sysb info tmm[8422]: Rule /Common/amex_irule : Recv2: Date: Mon, 01 Jan 2007 09:12:49 GMT Server: Apache/2.2.22 (FreeBSD) PHP/5.4.4 mod_ssl/2.2.22 OpenSSL/0.9.8q DAV/2 Last-Modified: Mon, 01 Jan 2007 09:08:49 GMT ETag: "9e7c76-4d2-425f6f62a6a40" Accept-Ranges: bytes Content-Length: 1234 Content-Type: text/html aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com