Changeset 128
- Timestamp:
- 03/22/08 21:08:55 (5 months ago)
- Files:
-
- trunk/lib/Danga/Socket.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/Danga/Socket.pm
r127 r128 1069 1069 $self->{write_buf_offset} = 0; 1070 1070 1071 if ($self->{write_set_watch}) {1072 $self->watch_write(0);1073 $self->{write_set_watch} = 0;1071 if ($self->{write_set_watch}) { 1072 $self->watch_write(0); 1073 $self->{write_set_watch} = 0; 1074 1074 } 1075 1075 … … 1238 1238 $event |= POLLOUT if $val; 1239 1239 1240 if ($val && caller ne __PACKAGE__) {1241 # A subclass registered interest, it's now responsible for this.1242 $self->{write_set_watch} = 0;1240 if ($val && caller ne __PACKAGE__) { 1241 # A subclass registered interest, it's now responsible for this. 1242 $self->{write_set_watch} = 0; 1243 1243 } 1244 1244
