FeitianSmartcardReader / eid-applet

Automatically exported from code.google.com/p/eid-applet
Other
1 stars 0 forks source link

The chunck encoding patch I submitted doesn"t work with visual studio embedded web server #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run the patched eid applet on visual studio web server
(this works if you debug on IIS server)

What is the expected output? What do you see instead?
Well, the web server doesn't receive chuncked data.
If you run the asp.net test page you designed with the global.asax patch, it 
doesn't work while the applet with the content lenght bug works.

What version of the product are you using? On what operating system?
Visual Studio 2010 ultimate on Windows 7 64 bits ultimate.

Please provide any additional information below.
What I did on my test project was to add a switch to run the version with the 
content length bug in Visual Studio and the chunck encoding one on IIS.
<% if 
(HttpContext.Current.Request.ServerVariables["SERVER_SOFTWARE"].Contains("IIS"))
 { %>
archive: 'eid-applet-package-1.0.2-SNAPSHOT.jar',
<% } else { %>
archive: 'eid-applet-package-1.0.1.GA.jar',
<% } %>

Suggested solution :
add a new parameter to enable content length or chunck encoding.

Original issue reported on code.google.com by Vincent....@gmail.com on 17 Feb 2011 at 1:04

GoogleCodeExporter commented 9 years ago
I'll add a DisableChunckedTransferEncoding parameter.

Original comment by frank.co...@gmail.com on 5 Mar 2011 at 12:29

GoogleCodeExporter commented 9 years ago
The parameter has become NoChunckedTransferEncoding.

Original comment by frank.co...@gmail.com on 18 Apr 2011 at 2:19