rejetto / hfs2

web based file server
https://rejetto.com/hfs
GNU General Public License v3.0
601 stars 131 forks source link

Duplicated file upload #23

Open hafedh-trimeche opened 2 years ago

hafedh-trimeche commented 2 years ago

Hello,

Please note that the file is uploaded twice even a single post method is invoked (2.4.0 RC6).

00:49:15  127.0.0.1:50773  Connected
00:49:15  Username@127.0.0.1:50773  Uploading EINVOICE-2021918922516830.PDF
00:49:15  Username@127.0.0.1:50773  Fully uploaded EINVOICE-2021918922516830.PDF - 189.9 K @ 855.4 KB/s
00:49:15  Username@127.0.0.1:50773  Disconnected by server - 52 bytes sent
00:49:15  127.0.0.1:50774  Connected
00:49:15  Username@127.0.0.1:50774  Uploading EINVOICE-2021918922516830.PDF
00:49:16  Username@127.0.0.1:50774  Fully uploaded EINVOICE-2021918922516830.PDF - 189.9 K @ 811.6 KB/s
00:49:16  Username@127.0.0.1:50774  Requested POST /HFS/
00:49:16  Username@127.0.0.1:50774  Request dump
> POST /HFS/ HTTP/1.1
> Connection: keep-alive
> Content-Type: multipart/form-data; boundary=--------101221004915412
> Content-Length: 194705
> Host: localhost
> User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0
> Authorization: Basic VXNlcm5hbWU6UGFzc3dvcmQ=
00:49:19  Username@127.0.0.1:50774  Disconnected - 139 bytes sent

Best regards.

rejetto commented 2 years ago

My best reading of this log is that 2 requests (POST) have been made, on 2 different connections (50773 and 50774). The only strange thing in your log is that first POST was not "dumped". Since the 2 events are so close in time I'd exclude manual intervention and suppose it's a bug.