List Info

Thread: Commented: (HTTPCLIENT-600) Http Client does not fix incorrect content-lenght headers




Commented: (HTTPCLIENT-600) Http Client does not fix incorrect content-lenght headers
user name
2006-09-15 14:33:22
    [ http://issues.apache.org/jira/b
rowse/HTTPCLIENT-600?page=comments#action_12434990 ] 
            
Denis Valdenaire commented on HTTPCLIENT-600:
---------------------------------------------

Hello Roland,

At the very least I will try to document it somewhere as a
possible cause for a socket reset at the server side. We had
a very hard time to debug this and only tcpdump was our
friend....

Thanks for your help.

Best regards,

Denis

> Http Client does not fix incorrect content-lenght
headers
>
---------------------------------------------------------
>
>                 Key: HTTPCLIENT-600
>                 URL: h
ttp://issues.apache.org/jira/browse/HTTPCLIENT-600
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 3.1 Alpha 1
>         Environment: All
>            Reporter: Denis Valdenaire
>
> I discovered that the method 
> addContentLengthRequestHeader (found in file
methods/MultipartPostMethod.java) doesn't "fix"
the content-lenght when this one is incorrect. It adds one
if getRequestHeader("Content-Lenght") is null,
but it should also verify that the content-lenght is
correct.
> I suggest something like :
> long len = getRequestContentLength();
> if (getRequestHeader("Content-Length") ==
null || getRequestHeader("Content-Length") !=
len) { 
>            
setRequestHeader("Content-Length",
String.valueOf(len));
> }
> Sending an incorrect Content-Length blocks the server
if the string sent is smaller than announced : waiting for
more, and finally reset the connection. If it's too big,
you lose data.
> I've seen this problem in a reverse proxy program
(with httpclient communicating with the real servers) when
the client send urlencoded data and this data is modified
(partly urldecoded) but not the content-lenght.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://issues.apache.org/jira/secure/Administrators.jspa

-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        

------------------------------------------------------------
---------
To unsubscribe, e-mail: httpclient-dev-unsubscribejakarta.apache.org
For additional commands, e-mail: httpclient-dev-helpjakarta.apache.org

Excellent CCNA / Network Consultant Available.
user name
2006-09-15 13:11:34

 
Excellent   CCNA / Network Consultant  Available
 Hi  ,            ;           ;           ;           ;           ;           ;           ;        12072006-0EDD" align="baseline" border="0">  
 For your direct client requirements only  .
Excellent CCNA / Network Consultant 
 ;
Cisco Certified Network Associate  

 

SUMMARY

 

  • 5 years of experience in IT,  4+ years of experience in effective at multitasking and determination in accomplishing overall objectives.
  • Expertise in installation, upgrading & troubleshooting of Windows 2003/2000/NT Server & Professional in different hardware including HP, Dell, Compaq, IBM, Toshiba etc.
  • Expertise in MS Exchange Server 5.5/2000/2003, Implementing & administering MS Windows 2000/2003 network infrastructure, RAID implementation (0, 1& 5) in enterprise environment, designing and implementing LAN and WAN infrastructure.
  • Administrative Experience in Windows 2003/2000/NT, UNIX, Linux server.
  • Hands on Experience with configuring DNS, DHCP, MAPI, CDO, Print Server, Sendmail, Samba, NIS, NFS, WINS, IIS Microsoft Clusters, Network Load Balancing and FTP in Windows 2003/2000 server.
  • Supported networks which consisted of Cisco Catalyst Switches and Routers using TACACS, Radius Authentication. Provided Custom Solutions and 24X7 supports.
  • OSPF,EIGRP,BGP,MPLS Routing Knowledge
  • Possess strong verbal and written communication skills, superior etiquette with the ability to deal effectively with customers, vendors, peers, and management.   
  • Possess exemplary problem solving skills; able to identify problems and implement corrective processes.

Name RJ    
Located:  NJ  ; 
Preferred Location:  Ready to Relocate anywhere in USA.   
CTC Rate: $ 57 / hour  
Availability: Immediate ly    

Thanks & Regards,  

 -Milind ; 

Milind Naik
Sr. Manager
Compunnel Software Group Inc.
1000 Rt 9, North, Suite 102. Woodbridge, NJ 07095,
Ph: 240 724 2000 Extn. 1401 Fax: 240 414 0343
E-mail:
compunnel.com" target="_blank">mnaikcompunnel.com
;URL: www.compunnel.com
Yahoo:
yahoo.com" target="_blank">milind_2000yahoo.com
MSN: hotmail.com" target="_blank">milind_2002hotmail.com

This message contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. In case you do not want to receive e-mails from us, please reply with a "REMOVE" in the subject line to compunnel.com" target="_blank">mnaikcompunnel.com and mention all the e-mail addresses to be removed with any e-mail addresses, which might be diverting the e-mails to you.

 

Google Groups Subscribe to Technical Recruiters
Email:
Browse Archives at groups.google.com

 

 


--
http://www.goanguides.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jobsforsoftware" group.
To post to this group, send email to jobsforsoftwaregooglegroups.com
To unsubscribe from this group, send email to jobsforsoftware-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/jobsforsoftware
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )