Project

General

Profile

Actions

Bug #799

closed

WFileUpload::fileTooLarge() signals 0 instead of a meaningful lavue

Added by Marco Poletti over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/20/2011
Due date:
% Done:

0%

Estimated time:

Description

Steps to reproduce:

  • Download the attached main.cpp
  • Run g main.cpp -lwt -lwthttp -o main
  • Run ./main ---docroot=/usr/share/wt/ ---http-address 0.0.0.0 ---http-port 8080
  • Try to upload a too-big file

Result: "File too large! size = 0" is shown in the Wt log.

You may have to replace the "/usr/share/wt/" above with a directory that contains the Wt's resources/ directory.

This happens on a 64 bit PC running Linux (openSUSE 11.4), with:

  • gcc 4.5.1
  • Wt 3.1.8
  • boost-devel 1.44.0

I can provide other information if needed, this is 100% reproducible on my PC.


Files

main.cpp (983 Bytes) main.cpp main.cpp Marco Poletti, 04/20/2011 05:01 PM
Actions #1

Updated by Marco Poletti over 13 years ago

In the summary I meant "value" instead of "lavue", sorry.

Actions #2

Updated by Koen Deforche over 13 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche
Actions #3

Updated by Koen Deforche over 13 years ago

  • Status changed from InProgress to Resolved
  • Target version set to 3.1.11
Actions #4

Updated by Koen Deforche about 13 years ago

  • Status changed from Resolved to Closed

Resolved in Wt 3.1.11

Actions

Also available in: Atom PDF