Differences From Artifact [36dd983976]:
- File
src/OFHTTPServer.m
— part of check-in
[b87a5d3b46]
at
2014-08-21 19:00:28
on branch trunk
— OFHTTPServer: Don't close the socket manually
Closing it manually causes the fd to become invalid before it is removed
from the OFKernelEventObserver. (user: js, size: 15772) [annotate] [blame] [check-ins using]
To Artifact [16d942747a]:
- File src/OFHTTPServer.m — part of check-in [372ed8b399] at 2014-12-07 18:18:24 on branch trunk — OFHTTPServer: Fix warning on Win64 (user: js, size: 15777) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
277 278 279 280 281 282 283 | [_socket release]; _socket = nil; } - (int)fileDescriptorForWriting { if (_socket == nil) | | | 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | [_socket release]; _socket = nil; } - (int)fileDescriptorForWriting { if (_socket == nil) return (int)INVALID_SOCKET; return [_socket fileDescriptorForWriting]; } @end @interface OFHTTPServer_Connection: OFObject { |
︙ | ︙ |