Project

General

Profile

Bug #7788

Signal with big string does not trigger the fallback function

Added by Samuel Quevauvillers almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/19/2020
Due date:
% Done:

0%

Estimated time:

Description

Context :
I want to get back from the client a dynamic picture (openlayer map) as text ("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...")

How I did:
I use a signal and a slot to retrieve the data from the image as text with some JS with the slot.setJavaScript(...)
Then the dispatch function(std::string) does his work with the received string.

Problem :
It works with a small string (or integer and other types).
It does not work with a big string. The signal is emitted (a POST request with the whole data is sent from the client to the server), but the dispatch function is not reached.

Is there a std::string limitation within Wt ?

compiled with Wt 4.4.0

Also available in: Atom PDF