Commit 38a2901
[ObjC] Raise Socket closed error when cfstream endpoint receive 0 byte data (grpc#38359)
While investigating firebase/firebase-ios-sdk#14018, I noticed a different behavior of cfstream endpoint, where it returns ok when reading 0 bytes data while [posix_endpoint](https://github.com/grpc/grpc/blob/v1.69.0/src/core/lib/event_engine/posix_engine/posix_endpoint.cc#L355-L356) raises socket closed error.
This PR aligns the cfstream endpoint behavior with posix endpoint
Closes grpc#38359
COPYBARA_INTEGRATE_REVIEW=grpc#38359 from HannahShiSFB:event-engine-endpoint-lifecycle bbeab2a
PiperOrigin-RevId: 7166838881 parent 65ae463 commit 38a2901
File tree
2 files changed
+4
-2
lines changed- src/core/lib/event_engine/cf_engine
- tools/internal_ci/macos
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
| 302 | + | |
302 | 303 | | |
303 | 304 | | |
304 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
146 | | - | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
0 commit comments