[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using raw to post data



   Well, it made sense to take it out the CONNCLOSE additional header...I
   need to wait until the user does something...still getting the same
   error though. Here's the latest debug log.

   On Fri, Feb 27, 2015 at 1:15 PM, Michael Ryan <[1]michaelrtr@xxxxxxxxx>
   wrote:

   Hmmm...I'll take that out and see what happend. Thanks Mike.

   On Fri, Feb 27, 2015 at 1:11 PM, Mike Krebs
   <[2]mkrebs@xxxxxxxxxxxxxxxxxx> wrote:

     Some of the things you see in the debug are in fact the headers that
     are being sent and Content-Length is one of them. I didn't count the
     bytes but 140 seems about right.
     The recvresp(): end with err is new one for me. I am used to seeing
     something more descriptive there. I wonder if that is related to
     Connection: close being sent.� That doesn't seem right to me.
     -----Original Message-----
     From: [3]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
     [mailto:[4]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
     Michael Ryan
     Sent: Friday, February 27, 2015 11:41 AM
     To: HTTPAPI and FTPAPI Projects

   Subject: Using raw to post data
   I've modified an existing program to talk to a device. I know I'm
   hitting it - I can see the device light up. But I don't get a valid
   response - seems like it's an error. I've attached the debug log...can
   anyone shed any light? The vendor suggested that content-length wasn't
   being passed. I can't see the actual headers in the debug log, but the
   log certainly indicated content-length was passed. Thanks!

   -----------------------------------------------------------------------
   This is the FTPAPI mailing list.� To unsubscribe, please go to:
   [5]http://www.scottklement.com/mailman/listinfo/ftpapi
   -----------------------------------------------------------------------

References

   1. mailto:michaelrtr@xxxxxxxxx
   2. mailto:mkrebs@xxxxxxxxxxxxxxxxxx
   3. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   4. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   5. http://www.scottklement.com/mailman/listinfo/ftpapi
HTTPAPI Ver 1.24beta11 released 2010-09-09
OS/400 Ver V7R1M0

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
https_init(): entered
-------------------------------------------------------------------------------------
Dump of local-side certificate information:
-------------------------------------------------------------------------------------
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: MYDOMAIN.COM
DNS server found: 192.168.1.2
DNS server found: 192.168.2.2
DNS server found: 192.168.9.2
http_persist_post(): entered
http_long_ParseURL(): entered
do_oper(POST): entered
POST / HTTP/1.1
Host: 192.168.1.99:986
User-Agent: http-api/1.24
Content-Type: text/xml
Content-Length: 118


senddoc(): entered
<TRANSACTION>
<TRANSACTIONTYPE>INTERACTIVECREDITAUTH</TRANSACTIONTYPE>
<CREDITAMT>1.00</CREDITAMT>
</TRANSACTION>

recvresp(): entered
recvresp(): end with err
http_close(): entered
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------