https://issues.apache.org/bugzilla/show_bug.cgi?id=49035

           Summary: data lost when post a multipart/form-data form
           Product: Tomcat Connectors
           Version: 1.2.28
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_jk
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: alexandre.petri...@gmail.com


I have a communication problem between Apache and Tomcat.

When a post a big form with enctype="multipart/form-data". Sometimes some data
are lost.
I actived jk's log (with JkLogFile "logs/mod_jk.log" and JkLogLevel trace)
and i see 2 packet to transport form's informations. 
And the lost data is localized between two packet like this :

the lost data is : 
<input type="text" name="utilisationRegroupement[1]" value="46.0">

and packets are : 

------7da28a1a20
82a..Content-Dis
position:.form-d
ata;.name="utili
sationRegroupeme
nt[1]"....46.0..
----------------

[Second packet]

.4....----------
---7da28a1a2082a
..Content-Dispos
ition:.form-data
;.name="etatRegr
oupement[1]"....

The problem is not systematic, it's depend of other input's size.
When the transfert is correct i can see this : 

-------7da1d0620
82a..Content-Dis
position:.form-d
ata;.name="utili
sationRegroupeme
nt[1]"....46.0..
----------------
-------------7da
1d062082a..Conte
nt-Disposition:.
form-data;.name=
"etatRegroupemen


.4.%.#t[1]"....E
..--------------
---------------7
da1d062082a..Con
tent-Disposition
:.form-data;.nam


It's not same log.

I use 
apache 2.2.8
mod_jk 1.2.30 (win32)
Tomcat 6.x

I'm sure it's a mod_jk with enctype="multipart/form-data", because without
apache, or with mod_prox, or without enctype, i havn't problem.

Thanks

AP

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to