Segmentation fault for response back sending image to client #1995
Replies: 1 comment 8 replies
-
On this line:
Note that It looks like your code listing cuts off before A couple unrelated notes on your code:
This line is redundant.
The |
Beta Was this translation helpful? Give feedback.
-
Hi @kentonv
I thank you for the way you shared for the basic way to send image. I tried to use your way and so far I am successful to send the image data from client to server.
But I am unable to return back the image from server to client. I received segmentation fault for
promise.then
in the client partThe schema looks like this:
Here is the server code:
and the client code:
The return from the server looks like this:
The return from the client looks like this:
Please let me know if I miss something.
Thank you and kind regards,
Eric
Beta Was this translation helpful? Give feedback.
All reactions