Hi.
I've noticed that when uploading multiple files in async mode the progress bar reaches 100% and then starts over again. This goes for about 3 times. It happens specially when uploading big files (over 100 Mb). I've register a handler to the progress event and log to the console. In the extract below from chrome browser you may see how the file.004 reaches 100% and then starts a 1% again.
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 65%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 97%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.005: 39%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.006: 42%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 68%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.003: 27%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 99%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.001: 27%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 71%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 100%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.005: 40%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.006: 43%"
[16024:12948:0202/210719:VERBOSE1:http_auth_controller.cc(256)] The server http://localhost:89/ requested auth
Has header WWW-Authenticate: NTLM
Has header WWW-Authenticate: Basic realm="localhost"
[16024:12948:0202/210719:VERBOSE1:http_auth_sspi_win.cc(24)] AcquireCredentialsHandle returned 0x0
[16024:12948:0202/210719:VERBOSE1:http_auth_sspi_win.cc(108)] InitializeSecurityContext returned 0x90312
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 74%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.003: 27%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 1%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.001: 28%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 76%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 2%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.005: 41%"
I'm using NTLM for authentication and I've noticed the has header WWW-Authenticate: NTLM message everytime that the progress bar goes from 100% to 1%. I think that the file payload is sent 3 times for every http request of the NTLM handshake which is really bad.
Is there a way to solve this?
I've also noticed that the upload component starts the upload of all the files at the same time. In our case the user may salect to upload thousands of files so I would be better to have the control to send only 4-6 files simultaneously, or even being able how many.
Attached is the full log for an upload of 6 big files. Because of implementation issues I can only test the upload in Chrome.
Thanks
I've noticed that when uploading multiple files in async mode the progress bar reaches 100% and then starts over again. This goes for about 3 times. It happens specially when uploading big files (over 100 Mb). I've register a handler to the progress event and log to the console. In the extract below from chrome browser you may see how the file.004 reaches 100% and then starts a 1% again.
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 65%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 97%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.005: 39%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.006: 42%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 68%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.003: 27%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 99%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.001: 27%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 71%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 100%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.005: 40%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.006: 43%"
[16024:12948:0202/210719:VERBOSE1:http_auth_controller.cc(256)] The server http://localhost:89/ requested auth
Has header WWW-Authenticate: NTLM
Has header WWW-Authenticate: Basic realm="localhost"
[16024:12948:0202/210719:VERBOSE1:http_auth_sspi_win.cc(24)] AcquireCredentialsHandle returned 0x0
[16024:12948:0202/210719:VERBOSE1:http_auth_sspi_win.cc(108)] InitializeSecurityContext returned 0x90312
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 74%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.003: 27%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 1%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.001: 28%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.002: 76%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.004: 2%"
[16024:10352:0202/210719:INFO:CONSOLE(598)] "file.005: 41%"
I'm using NTLM for authentication and I've noticed the has header WWW-Authenticate: NTLM message everytime that the progress bar goes from 100% to 1%. I think that the file payload is sent 3 times for every http request of the NTLM handshake which is really bad.
Is there a way to solve this?
I've also noticed that the upload component starts the upload of all the files at the same time. In our case the user may salect to upload thousands of files so I would be better to have the control to send only 4-6 files simultaneously, or even being able how many.
Attached is the full log for an upload of 6 big files. Because of implementation issues I can only test the upload in Chrome.
Thanks