Skip to content

Commit fc5da6f

Browse files
Merge branch 'main' into ChargenServer
2 parents 4ef3d9d + ed17a7f commit fc5da6f

10 files changed

Lines changed: 12 additions & 16 deletions

File tree

examples/AsyncSend/AsyncSend.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: LGPL-3.0-or-later
2-
// Copyright 2016-2025 Hristo Gochkov, Mathieu Carbou, Emil Muratov
2+
// Copyright 2016-2026 Hristo Gochkov, Mathieu Carbou, Emil Muratov, Will Miles
33

44
/*
55
This example demonstrates how to send data to a remote server asynchronously.

examples/Client/Client.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: LGPL-3.0-or-later
2-
// Copyright 2016-2025 Hristo Gochkov, Mathieu Carbou, Emil Muratov
2+
// Copyright 2016-2026 Hristo Gochkov, Mathieu Carbou, Emil Muratov, Will Miles
33

44
#include <Arduino.h>
55
#include <AsyncTCP.h>

examples/FetchWebsite/FetchWebsite.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: LGPL-3.0-or-later
2-
// Copyright 2016-2025 Hristo Gochkov, Mathieu Carbou, Emil Muratov
2+
// Copyright 2016-2026 Hristo Gochkov, Mathieu Carbou, Emil Muratov, Will Miles
33

44
#include <Arduino.h>
55
#include <AsyncTCP.h>

idf_component_examples/client/main/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: LGPL-3.0-or-later
2-
// Copyright 2016-2025 Hristo Gochkov, Mathieu Carbou, Emil Muratov
2+
// Copyright 2016-2026 Hristo Gochkov, Mathieu Carbou, Emil Muratov, Will Miles
33

44
#include "Arduino.h"
55
#include "AsyncTCP.h"

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "AsyncTCP",
3-
"version": "3.4.9",
3+
"version": "3.4.10",
44
"description": "Asynchronous TCP Library for ESP32",
55
"keywords": "async,tcp",
66
"repository": {

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name=Async TCP
22
includes=AsyncTCP.h
3-
version=3.4.9
3+
version=3.4.10
44
author=ESP32Async
55
maintainer=ESP32Async
66
sentence=Async TCP Library for ESP32

src/AsyncTCP.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: LGPL-3.0-or-later
2-
// Copyright 2016-2025 Hristo Gochkov, Mathieu Carbou, Emil Muratov
2+
// Copyright 2016-2026 Hristo Gochkov, Mathieu Carbou, Emil Muratov, Will Miles
33

44
#include "AsyncTCP.h"
55
#include "AsyncTCPLogging.h"
@@ -468,8 +468,6 @@ int8_t AsyncTCP_detail::tcp_recv(void *arg, struct tcp_pcb *pcb, struct pbuf *pb
468468
e->event = LWIP_TCP_FIN;
469469
e->fin.pcb = pcb;
470470
e->fin.err = err;
471-
// close the PCB in LwIP thread
472-
client->_lwip_fin(e->fin.pcb, e->fin.err);
473471
}
474472

475473
queue_mutex_guard guard;
@@ -1043,9 +1041,7 @@ int8_t AsyncClient::_lwip_fin(tcp_pcb *pcb, int8_t err) {
10431041

10441042
// In Async Thread
10451043
int8_t AsyncClient::_fin(tcp_pcb *pcb, int8_t err) {
1046-
if (_discard_cb) {
1047-
_discard_cb(_discard_cb_arg, this);
1048-
}
1044+
close();
10491045
return ERR_OK;
10501046
}
10511047

src/AsyncTCP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: LGPL-3.0-or-later
2-
// Copyright 2016-2025 Hristo Gochkov, Mathieu Carbou, Emil Muratov
2+
// Copyright 2016-2026 Hristo Gochkov, Mathieu Carbou, Emil Muratov, Will Miles
33

44
#ifndef ASYNCTCP_H_
55
#define ASYNCTCP_H_

src/AsyncTCPLogging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: LGPL-3.0-or-later
2-
// Copyright 2016-2025 Hristo Gochkov, Mathieu Carbou, Emil Muratov
2+
// Copyright 2016-2026 Hristo Gochkov, Mathieu Carbou, Emil Muratov, Will Miles
33

44
#pragma once
55

src/AsyncTCPVersion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: LGPL-3.0-or-later
2-
// Copyright 2016-2025 Hristo Gochkov, Mathieu Carbou, Emil Muratov
2+
// Copyright 2016-2026 Hristo Gochkov, Mathieu Carbou, Emil Muratov, Will Miles
33

44
#pragma once
55

@@ -12,7 +12,7 @@ extern "C" {
1212
/** Minor version number (x.X.x) */
1313
#define ASYNCTCP_VERSION_MINOR 4
1414
/** Patch version number (x.x.X) */
15-
#define ASYNCTCP_VERSION_PATCH 9
15+
#define ASYNCTCP_VERSION_PATCH 10
1616

1717
/**
1818
* Macro to convert version number into an integer

0 commit comments

Comments
 (0)