Commit Graph

  • d12b2ef2ed Merge pull request #1 from yubox-node-org/master master Pablo2048 2022-12-11 12:43:55 +01:00
  • 3d6671a542 Backward compatibility with AsyncTCP (disconnected() method) pablo2048 2022-12-09 16:45:23 +01:00
  • 1212289f0b Skip onPoll processing until socket is fully connected Alex Villacís Lasso 2022-10-28 14:01:55 -05:00
  • fd36085b1d Fix unused-variable warnings that are flagged as errors in some Arduino IDE setups Alex Villacís Lasso 2022-10-27 11:48:23 -05:00
  • d4c9bcdd37 Prevent spurious RX timeout/close on incoming socket object Alex Villacís Lasso 2022-09-02 17:52:50 -05:00
  • f828ec1379 Update mbedtls macro checks for Arduino-ESP32 v2.0.3-rc1 Alex Villacís Lasso 2022-04-27 13:25:45 -05:00
  • 350501ea4d Prevent deadlock between DNS resolution callback and LWIP call Alex Villacís Lasso 2022-02-21 18:08:13 -05:00
  • 9f82a7ed3e Update/fix SSL example sketch to include required build_opt.h Alex Villacís Lasso 2022-01-17 11:26:49 -05:00
  • f22b097b2e Make task priority configurable Alex Villacís Lasso 2021-10-28 17:26:33 -05:00
  • 0714013c68 Allow setting stack size via user defines Alex Villacís Lasso 2021-10-28 17:22:39 -05:00
  • 9a6ab11adf Example exercising TLS capabilities with root certificate verification Alex Villacís Lasso 2021-10-22 15:18:12 -05:00
  • 0a20a6989f Add dummy secure server API Alex Villacís Lasso 2021-10-13 17:07:55 -05:00
  • 2e54cf7e3e Remove force-enable of ASYNC_TCP_SSL_ENABLED Alex Villacís Lasso 2021-10-13 15:19:39 -05:00
  • 37974a7f79 Use TLS context on AsyncTCP if enabled Alex Villacís Lasso 2021-10-13 15:10:59 -05:00
  • a042d8e8ab API change to reduce number of NULL parameters Alex Villacís Lasso 2021-10-13 13:08:42 -05:00
  • 58d12224c3 Add macro definition for end-of-stream condition Alex Villacís Lasso 2021-10-13 12:13:28 -05:00
  • 354f535a7a Trivial code formatting fix Alex Villacís Lasso 2021-10-13 12:03:03 -05:00
  • d7ea0eae72 Add methods for reading and writing data to TLS connection Alex Villacís Lasso 2021-10-11 18:36:55 -05:00
  • 80fc7eb489 More missing variables Alex Villacís Lasso 2021-10-11 18:32:34 -05:00
  • 6e5567c6f5 Remove reference to ssl_client struct Alex Villacís Lasso 2021-10-11 18:29:27 -05:00
  • 10eac704da Add verbose tracing to cleanup and destructor Alex Villacís Lasso 2021-10-11 18:11:12 -05:00
  • 081e750165 WIP: start of TLS negotiation on nonblocking socket Alex Villacís Lasso 2021-10-11 17:57:42 -05:00
  • d62f9c9961 Fix typo Alex Villacís Lasso 2021-10-07 16:29:14 -05:00
  • 5ca0ba2d15 Renamed file for TLS context class implementation Alex Villacís Lasso 2021-10-07 16:28:41 -05:00
  • b3a01893fe API skeleton for SSL/TLS client support Alex Villacís Lasso 2021-10-06 18:28:23 -05:00
  • 8ee20adb2b Protect against AsyncClient being destroyed in the middle of processing Alex Villacís Lasso 2021-09-08 12:53:22 -05:00
  • 8607ac169b Stop accept()-ing connections if already at max connection limit Alex Villacís Lasso 2021-09-07 15:02:21 -05:00
  • 2895bb8b84 Check for readable socket right before signaling a read timeout Alex Villacís Lasso 2021-09-07 14:06:12 -05:00
  • 6f8bcef490 Fix failure to outbound-connect introduced by previous commit Alex Villacís Lasso 2021-09-06 18:02:25 -05:00
  • a5ae72c0f6 Properly use nonzero select() timeout for writable sockets Alex Villacís Lasso 2021-09-06 16:03:31 -05:00
  • 511459ca3b Extract poll interval duration into macro Alex Villacís Lasso 2021-09-06 12:54:22 -05:00
  • 5c2fef785e Only process ACK timeout if buffer has not been fully written Alex Villacís Lasso 2021-09-06 12:19:28 -05:00
  • 2234057978 First much-needed example exercising the raw client API Alex Villacís Lasso 2021-08-15 14:49:43 -05:00
  • fbc6d97bc1 Return false on send() if socket not connected Alex Villacís Lasso 2021-08-15 14:32:39 -05:00
  • 2f49e04979 Use state 1 for DNS resolution wait period Alex Villacís Lasso 2021-08-15 14:29:27 -05:00
  • 78953656ef Eagerly flush as much data as possible from write queue Alex Villacís Lasso 2021-08-03 18:16:32 -05:00
  • 01f436bbcb Display actual core assignment for asyncTcpSock task Alex Villacís Lasso 2021-08-02 18:57:38 -05:00
  • 16292c981e Update RX timestamp right after assigning socket Alex Villacís Lasso 2021-08-02 16:47:07 -05:00
  • fea600a56c Do not remove callbacks on socket error either Alex Villacís Lasso 2021-07-29 18:01:10 -05:00
  • 14dad4679c Merge branch 'master' of github.com:yubox-node-org/AsyncTCPSock master-esp32-arduino-2.0.0 Alex Villacís Lasso 2021-07-16 14:19:41 -05:00
  • 20460d62ba Do not remove callbacks on socket close Alex Villacís Lasso 2021-07-16 14:19:04 -05:00
  • ca0d753698 Fix for absence of lwip_*_r functions in Arduino ESP 2.0.0-alpha Alex Villacís Lasso 2021-06-19 18:28:41 -05:00
  • ddbeed4375 Revert "User ESP_IDF_VERSION_MAJOR for LwIP function conditional" Alex Villacís Lasso 2021-06-19 18:07:38 -05:00
  • 93063fdb86 User ESP_IDF_VERSION_MAJOR for LwIP function conditional Alex Villacís Lasso 2021-06-18 18:53:00 -05:00
  • 7168825854 Fixes #2 (#3) Andrii 2021-03-14 18:26:03 +02:00
  • 0ad4a10c88 Flush some writable data on AsyncClient::send() Alex Villacís Lasso 2021-02-27 20:55:02 -05:00
  • f69bcbd5ad Use recursive mutex, call callbacks with mutex held Alex Villacís Lasso 2021-02-17 11:42:44 -05:00
  • d5cf17ff65 Clear write queue BEFORE calling discard callback Alex Villacís Lasso 2021-02-16 19:54:43 -05:00
  • caefb971a4 Scrub write mutex ptr immediately after destroying it Alex Villacís Lasso 2021-02-16 18:27:43 -05:00
  • 36ceb07da4 Insert forgotten return statement Alex Villacís Lasso 2021-02-16 17:31:19 -05:00
  • f9cce2dd8d Fix variable shadowing Alex Villacís Lasso 2020-12-23 16:42:00 -05:00
  • ddd0bc9290 Clear all callbacks on close or error Alex Villacís Lasso 2020-12-23 16:41:29 -05:00
  • c35a1f2079 Plug mutex semaphore leak Alex Villacís Lasso 2020-12-23 11:08:14 -05:00
  • 2bb8788ec1 Protect write buffer queue with a per-client mutex Alex Villacís Lasso 2020-12-21 18:21:27 -05:00
  • 9ee3bda5ae Add abort() support if enabled in LWIP Alex Villacís Lasso 2020-12-21 14:04:00 -05:00
  • de2a0da915 Implement write() and free() methods Alex Villacís Lasso 2020-12-21 13:48:24 -05:00
  • 7a70bda9ce Place code under the same license as original AsyncTCP Alex Villacís Lasso 2020-12-21 13:16:21 -05:00
  • 9bde555be8 Arduino library files Alex Villacís Lasso 2020-12-21 12:59:04 -05:00
  • 5f24debb27 Initial commit Alex Villacís Lasso 2020-12-19 17:28:53 -05:00