Skip to content

curl: (56) Recv failure: Connection was aborted #10

@hammad2224

Description

@hammad2224

When i send the command to my samsung s10plus the command

curl --header "Content-Type: application/json" --trace-ascii dump.txt -d '[{"type":"down","contact":0,"x":10,"y":10,"pressure":50},{"type":"commit"},{"type":"up","contact":0},{"type":"commit"}]' http://localhost:9889

i get the following error
curl: (56) Recv failure: Connection was aborted

here is the dump log

== Info: Trying ::1:9889...
== Info: TCP_NODELAY set
== Info: Trying 127.0.0.1:9889...
== Info: TCP_NODELAY set
== Info: Connected to localhost (127.0.0.1) port 9889 (#0)
=> Send header, 148 bytes (0x94)
0000: POST / HTTP/1.1
0011: Host: localhost:9889
0027: User-Agent: curl/7.68.0
0040: Accept: /
004d: Content-Length: 95
0061: Content-Type: application/x-www-form-urlencoded
0092:
=> Send data, 95 bytes (0x5f)
0000: '[{type:down,contact:0,x:10,y:10,pressure:50},{type:commit},{typ
0040: e:up,contact:0},{type:commit}]'
== Info: upload completely sent off: 95 out of 95 bytes
== Info: Recv failure: Connection was aborted
== Info: Closing connection 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions