shooting_star 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -1
- data/lib/shooting_star/server.rb +4 -4
- data/lib/shooting_star.rb +1 -1
- data/vendor/plugins/meteor_strike/lib/meteor_strike.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
*** 1.0.5 / 2007-04-18
|
2
|
+
+ 2 minor enhancements:
|
3
|
+
+ Added signature to log.
|
4
|
+
+ Changed format of error log.
|
5
|
+
+ 1 minor bugfix:
|
6
|
+
+ Fixed invalid html.
|
7
|
+
|
1
8
|
*** 1.0.4 / 2007-03-29
|
2
9
|
+ 2 major enhancements:
|
3
10
|
+ Cached rendering result of meteor/strike.
|
@@ -8,7 +15,7 @@
|
|
8
15
|
+ Added timer to remove forsaken iframes for Safari.
|
9
16
|
+ Added configuration option 'sweep_timeout'.
|
10
17
|
+ Added 'session_timeout' option.
|
11
|
-
+
|
18
|
+
+ 3 minor bugfixes:
|
12
19
|
+ Solved problem on caching of browsers of MacOS.
|
13
20
|
+ Added workaround for Safari's strange behaviour after back navigation.
|
14
21
|
+ Solved problem on connection management.
|
data/lib/shooting_star/server.rb
CHANGED
@@ -38,7 +38,7 @@ module ShootingStar
|
|
38
38
|
@@uids.delete(@signature)
|
39
39
|
@@tags.delete(@signature)
|
40
40
|
@@executings.delete(@signature)
|
41
|
-
log "Disconnected: #{@uid}"
|
41
|
+
log "Disconnected: #{@uid}:#{@signature}"
|
42
42
|
if Channel.cleanup(@channel)
|
43
43
|
log "Channel closed: #{@channel}"
|
44
44
|
end
|
@@ -116,9 +116,9 @@ module ShootingStar
|
|
116
116
|
# wait for commands or events until they occur. if they're already in
|
117
117
|
# the execution buffer, they'll be flushed and return on the spot.
|
118
118
|
def wait_for
|
119
|
-
log "Wait for: #{@channel}:#{@uid}:#{@tag.join(',')}"
|
119
|
+
log "Wait for: #{@channel}:#{@uid}:#{@tag.join(',')}:#{@signature}"
|
120
120
|
if Channel[@channel].join(self)
|
121
|
-
log "Flushed: #{@channel}:#{@uid}:#{@tag.join(',')}"
|
121
|
+
log "Flushed: #{@channel}:#{@uid}:#{@tag.join(',')}:#{@signature}"
|
122
122
|
end
|
123
123
|
@waiting = true
|
124
124
|
end
|
@@ -168,7 +168,7 @@ module ShootingStar
|
|
168
168
|
wait_for
|
169
169
|
end
|
170
170
|
rescue
|
171
|
-
log "ERROR: #{$!.
|
171
|
+
log "ERROR: #{$!.pretty_print}\n#{@data}"
|
172
172
|
raise
|
173
173
|
ensure
|
174
174
|
@data = ''
|
data/lib/shooting_star.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: shooting_star
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2007-
|
6
|
+
version: 1.0.5
|
7
|
+
date: 2007-04-17 00:00:00 +09:00
|
8
8
|
summary: Our goal is development of practical comet server which will be achieving over 100,000 simultaneous connections per host. On this purpose, we abandon portability and use system calls depending on particular OS such as epoll and kqueue.
|
9
9
|
require_paths:
|
10
10
|
- lib
|