This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /googlecode.com
Directory Listing
Revision
64 -
Directory Listing
Modified
Mon Jan 19 11:19:41 2009 UTC
(15 years, 5 months ago)
by
andrew.betts
Release 1.06.04 as documented in Google Group
Revision
63 -
Directory Listing
Modified
Thu Nov 27 00:34:01 2008 UTC
(15 years, 7 months ago)
by
andrew.betts
Remove redundant poll.html
Revision
62 -
Directory Listing
Modified
Thu Nov 27 00:33:21 2008 UTC
(15 years, 7 months ago)
by
andrew.betts
1 Fixed: Added SIGPIPE handler. We noticed that under heavy load
Meteor receives SIGPIPEs from the OS, suspected to relate to clients
that have just disconnected the moment Meteor attempts to write to the
socket. This caused Meteor to crash.
2 Fixed: Long polling multiple channels no longer causes the loop to
die and restart when some channels have messages queued for delivery.
3 Fixed: Over time, Meteor 'collected' connections from clients that
never got disconnected even if MaxTime was set. This happened if the
client concerned sent a header with no terminating blank line. Meteor
kept waiting for the rest of the header, which never arrived, and
therefore the client remained in limbo, never subjected to the MaxTime
time limit because it had not yet become a subscriber. Clients are
now allowed 30 seconds to send a valid request header.
4 Fixed: If only one message existed on the server, the JS client
would continue to request it again and again, because it has message
ID 0, and the JS client considered this an invalid message ID.
5 Fixed: Corrected some comments in file headers
6 Changed: MaxMessages has been renamed to CloseOnEvent and functions
in a similar, but not quite identical way. Thanks to Matthew Haak,
who pointed out the extreme confusingness of MaxMessages and a bug
that has resulted in Fix 2 above. Setting CloseOnEvent to any value
that evaluates to true will cause Meteor to close subscriber
connections after at least one message has been sent and there are no
further messages pending. This is identical to MaxMessages for values
of 0 and 1, but where MaxMessages is set to a value higher than one,
replacing it with CloseOnEvent with the same value will act as though
it were set to one. The intent of MaxMessages was to enable long-
polling (and it is used by the JS client in that way), and
CloseonEvent is a drop in replacement for that behaviour.
7 Changed: Meteor JS client now uses dynamic <SCRIPT> tags for all
polling behaviours, rather than XHR. This enables it to make poll
requests cross-domain (see 13)
8 Changed: Meteor JS client now abstracts timestamp lookups to a
dedicated method.
9 Changed: Default HeaderTemplates no longer include cache busting
headers, since all meteor requests contain a millisecond timestamp and
so no client makes the same request twice. These were therefore
simply chewing up bandwidth.
10 Changed: Date strings used for logging debug messages are cached to
avoid numerous expensive lookups to localtime().
11 Changed: Channel info is only sent in a response if the client does
not request a restart from a specified ID. The logic being that if
the client knows the ID they want to start from, they have already
made previous requests and have the channel information they need.
Bandwidth saving measure.
12 Added: JS client now has a Meteor.isSupportedBrowser() method,
which you can call to detemine whether Meteor will run in the user's
browser version.
13 Added: JS client can now use different hosts for polling and
streaming. This is only really useful if your website is on a domain
that has a lot of cookies, and you don't want to send them in every
poll request. Removing cookies from request headers can reduce the
size of the request significantly. We find that with cookies included
Meteor poll requests are usually larger than the responses. To use,
set Meteor.pollhost. Meteor.pollhost can be any domain, while
Meteor.host must be a subdomain of your website hostname.
14 Added: Config file now supports new 'FooterTemplate' parameter, for
a string to send just before the connection to the subscriber is
closed. This is in support of change 7.
15 Added: Better inline documentation for ChannelInfoTemplate config
parameter
16 Added: Log output includes connection IDs corresponding to the file
inode for each connection
17 Added: New controller command LISTCONNECTIONS, produces a newline
delimited list of all currently connected clients, and for each one
displaying "ConnectionID IPAddress ClientType [SubscriberID]"
18 Added: New controller command DESCRIBE, takes a ConnectionID as a
parameter, and outputs numerous statistics about that particular
client, including number of messages sent/received, user agent, IP
address, time connected, time remaining until MaxTime etc.
19 Added: New controller comment LISTSUBSCRIBERS, produces a newline
delimited list of all currently connected streaming subscribers, and
for each one displaying "SubscriberID IPAddress Starttime TimeLimit
TimeRemaining MessageCount UserAgent"
20 Added: SHOWSTATS command produces the following additional stats:
connection_count: total current connections, real_subscribers: total
of number of currently connected streaming subscribers plus the number
of unique polling connections seen in the last 60 seconds.
21 Added: STDERR outputs prior to every exit() for debugging purposes
22 Added: The UDP server is now considered stable, and is the best way
of broadcasting messages to lots of Meteor nodes simultaneously and
efficiently.
Revision
61 -
Directory Listing
Modified
Thu Apr 17 20:03:54 2008 UTC
(16 years, 2 months ago)
by
andrew.betts
Fixed: disconnect() behaviour
Fixed: Stream.html sometimes threw an error in Firefox after the frame had been rmeoved by the parent
Revision
60 -
Directory Listing
Modified
Tue Mar 25 22:34:16 2008 UTC
(16 years, 3 months ago)
by
andrew.betts
Fixed: prevented Meteor JS client firing multiple changemode events when
timing out on poll mode initialisation
Fixed: destruction of frame on disconnect
Revision
59 -
Directory Listing
Modified
Tue Mar 25 00:38:17 2008 UTC
(16 years, 3 months ago)
by
andrew.betts
Fixed leaveChannel bug
Revision
58 -
Directory Listing
Modified
Thu Mar 6 08:29:39 2008 UTC
(16 years, 3 months ago)
by
andrew.betts
Fixed: Reporting zero as first ID on channel causes JS client to miss first message
Revision
57 -
Directory Listing
Modified
Sun Mar 2 22:18:59 2008 UTC
(16 years, 3 months ago)
by
andrew.betts
Updated some config defaults
Release
Revision
56 -
Directory Listing
Modified
Thu Feb 28 13:33:06 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
Fixing subscription to multiple channels, broken by previous commit
Revision
55 -
Directory Listing
Modified
Thu Feb 28 00:21:39 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
Fixed: Made eof() work properly
Added nocache querystring param and modified Subscriber.pm to allow it
Rewrote stream.html to ensure we capture the last chunk of data before a reset
Incremented version
Revision
54 -
Directory Listing
Modified
Wed Feb 27 22:01:02 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
updated sample configuration
Revision
53 -
Directory Listing
Modified
Wed Feb 27 21:58:56 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
Updated version number
JS client:
Added channel info handler to JS client, assumes Meteor will send <script>ch('channel', msgid);</script>
Allowed processing of messages prior to current message index
Added disconnect() to eof()
Revert to poll mode if unable to load frame (should fix IE proxy issues)
Server:
Fixed output of channel info to show only subscribed channels (and simplified)
Added logging of IP addresses
Revision
52 -
Directory Listing
Modified
Wed Feb 27 14:07:10 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
omitted to increment version number on last commit
Revision
51 -
Directory Listing
Modified
Wed Feb 27 14:05:59 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
Updated default config file
Updated some config narrative
Channel names made more lenient
Revision
50 -
Directory Listing
Modified
Wed Feb 27 13:55:35 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
Added crossdomain.xml for flash clients
Incremented version number
Moved 'new message' debug notice to more useful location
Moved default for ChannelInfoTemplate to correct position alphabetically in code
Set simpler default HeaderTemplate
Added LogTimeFormat
Updated description of PingInterval, Persist
Corrected misspelling of Parameter
Reformatted debug output for config initialisation
Added recognition of null byte in config
Fixed problem with mode recognition
Fixed resuming from given message ID
Fixed sending of message backlog
Fixed Shlemiels
Logged connection duration on leavechannel
Fixed name support in channelinfotemplate
Added logging of reasons for connection closes
Abbreviated log output
Fixed tracking of subscriber IDs
Added logging of user agent
Fixed incorrect key for MessageTemplate in Subscriber.pm
Add some additional code comments
Fixed incorrect closure of new connection if previous connection close was waiting on write buffer
Revision
49 -
Directory Listing
Modified
Mon Feb 4 22:30:35 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• Removed support for numbered header templates and hard coded persist values, use new mode support instead
Revision
48 -
Directory Listing
Modified
Mon Feb 4 22:23:52 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• Added simple UDP broadcast abilities
Revision
47 -
Directory Listing
Modified
Mon Feb 4 21:06:42 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• syslog change: If `SyslogFacility` is set to `none`, meteord will not put itself into the background and print all syslog messages with a priority higher than `debug` to standard output. The output will be prefixed with a timestamp (unix time in seconds) and a tab character.
• New syslog messges: joinchannel, leavechannel, document
Revision
46 -
Directory Listing
Modified
Mon Feb 4 19:24:25 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• The ADDMESSAGE response now follows the `OK` with a tab character and the message ID for the newly added message
Revision
45 -
Directory Listing
Modified
Mon Feb 4 19:02:49 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• Mode-specific configurations
• New ~channelinfo~ header keyword
• New ChannelInfoTemplate parameter
Revision
44 -
Directory Listing
Modified
Sun Feb 3 23:53:55 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• Send SubscriberShutdownMsg on forced disconnect
Revision
43 -
Directory Listing
Modified
Sun Feb 3 23:24:26 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• Have both SHOWSTATS and LISTCHANNELS start their responses with 'OK' and end with '--EOT--'
Revision
42 -
Directory Listing
Modified
Sun Feb 3 23:10:24 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• meteord will return it's version number and exit if any command line parameter is '-v', '-version' or anything in between
Revision
41 -
Directory Listing
Modified
Sat Feb 2 16:58:29 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
Increased padding - was insufficient for Safari
Revision
40 -
Directory Listing
Modified
Sat Feb 2 16:53:19 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
Reverting default polling behaviour to smart polling
Revision
39 -
Directory Listing
Modified
Sat Feb 2 16:49:20 2008 UTC
(16 years, 4 months ago)
by
andrew.betts
Fixed poll mode problems, frame duplication, removed null byte chars
Revision
38 -
Directory Listing
Modified
Fri Feb 1 21:54:05 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• Add documents_not_found statistics value for invalid document requests
Revision
37 -
Directory Listing
Modified
Fri Feb 1 21:22:03 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• Connection: In checkAllHandleBits (and to be sure also in addAllHandleBits) iterate over copy of @Connections, as @Connections might change during iteration due to connections being closed
• Controller, Subscriber: pending data will abort a close and call it again later, causing current_subscribers/current_controllers statistics to be incorrect. Added new 'didClose' method that is only called when a connection is actually closed, and this is where the close is counted.
Revision
36 -
Directory Listing
Modified
Fri Feb 1 19:28:40 2008 UTC
(16 years, 4 months ago)
by
knops.gerd
• Ignore undefined values in @Connections during addHandleBits and checkHandleBits
Revision
35 -
Directory Listing
Modified
Fri Jan 25 17:12:02 2008 UTC
(16 years, 5 months ago)
by
andrew.betts
Terminated each message with a null byte to allow Flash clients to work with XML Sockets
Cleared a warning
Allowed uppercase channel names
Revision
34 -
Directory Listing
Modified
Thu Dec 20 21:41:25 2007 UTC
(16 years, 6 months ago)
by
andrew.betts
Restored maxtime to the default
Revision
33 -
Directory Listing
Modified
Thu Dec 20 21:31:56 2007 UTC
(16 years, 6 months ago)
by
andrew.betts
updated config, removed redundant controller script
Revision
32 -
Directory Listing
Modified
Thu Dec 20 21:24:24 2007 UTC
(16 years, 6 months ago)
by
andrew.betts
Complete rewrite of the JS web client
Opera and Safari compatibility
Saner request format
Revision
31 -
Directory Listing
Modified
Wed Oct 10 22:25:57 2007 UTC
(16 years, 8 months ago)
by
andrew.betts
Revision
30 -
Directory Listing
Modified
Wed Oct 10 22:24:32 2007 UTC
(16 years, 8 months ago)
by
andrew.betts
fixed bug
Revision
29 -
Directory Listing
Modified
Wed Oct 10 22:18:30 2007 UTC
(16 years, 8 months ago)
by
andrew.betts
Internet Explorer onunload handler
Revision
28 -
Directory Listing
Modified
Thu Aug 2 09:29:07 2007 UTC
(16 years, 10 months ago)
by
andrew.betts
bugfix to preent duplicate creation of activex object
Revision
27 -
Directory Listing
Modified
Wed Aug 1 17:38:00 2007 UTC
(16 years, 11 months ago)
by
andrew.betts
Opera support, possibly :-)
Revision
26 -
Directory Listing
Modified
Mon Jun 25 10:37:57 2007 UTC
(17 years ago)
by
andrew.betts
Resynced meteor.js defaults with documented values.
Removed wierdness in Meteor.js subsurl
Updated defaults in Config.
Revision
25 -
Directory Listing
Modified
Sun May 20 19:40:53 2007 UTC
(17 years, 1 month ago)
by
knops.gerd
• Add simple statistics, available via new SHOWSTATS controller command
Revision
24 -
Directory Listing
Modified
Sun May 20 14:19:00 2007 UTC
(17 years, 1 month ago)
by
andrew.betts
typo
Revision
23 -
Directory Listing
Modified
Sun May 20 14:03:10 2007 UTC
(17 years, 1 month ago)
by
andrew.betts
Attemps to prevent polling connections sending undefined requests
Revision
22 -
Directory Listing
Modified
Mon May 14 15:32:03 2007 UTC
(17 years, 1 month ago)
by
andrew.betts
fixed .stop() bug
Revision
21 -
Directory Listing
Modified
Mon May 14 13:42:45 2007 UTC
(17 years, 1 month ago)
by
andrew.betts
Revision
20 -
Directory Listing
Modified
Sat May 5 15:04:41 2007 UTC
(17 years, 1 month ago)
by
andrew.betts
Updated defaults and docs, removed redundant line in meteor.js
Revision
19 -
Directory Listing
Modified
Wed May 2 11:21:14 2007 UTC
(17 years, 2 months ago)
by
andrew.betts
updated to take account of multi-channel subscriptions
Revision
18 -
Directory Listing
Modified
Wed May 2 10:55:26 2007 UTC
(17 years, 2 months ago)
by
andrew.betts
updated javascript client
Revision
17 -
Directory Listing
Modified
Tue May 1 17:10:10 2007 UTC
(17 years, 2 months ago)
by
knops.gerd
• Make persist a global instead of channel-specific parameter
Revision
16 -
Directory Listing
Modified
Tue May 1 16:59:28 2007 UTC
(17 years, 2 months ago)
by
knops.gerd
• Add ~channel~ to the list of available placeholders
Revision
15 -
Directory Listing
Modified
Mon Apr 30 18:42:00 2007 UTC
(17 years, 2 months ago)
by
andrew.betts
modified header templates.
Revision
14 -
Directory Listing
Modified
Mon Apr 30 18:38:55 2007 UTC
(17 years, 2 months ago)
by
andrew.betts
changed the way the iframe streaming works to fix a back button issue in
FF and generally improve the elegance, also fixed a bug while I was at it.
Revision
13 -
Directory Listing
Modified
Mon Apr 30 18:16:17 2007 UTC
(17 years, 2 months ago)
by
knops.gerd
• Allow to subscribe to multiple channels
Revision
12 -
Directory Listing
Modified
Thu Dec 14 16:58:18 2006 UTC
(17 years, 6 months ago)
by
knops.gerd
• Simplify check for valid path names. The old check was triggering a bug in perl (Attempt to free unreferenced scalar) that would eventually lead to a crash.
Revision
11 -
Directory Listing
Modified
Thu Dec 14 16:29:42 2006 UTC
(17 years, 6 months ago)
by
knops.gerd
• Change CRLF line endings back to LF only
Revision
10 -
Directory Listing
Modified
Thu Dec 14 10:45:43 2006 UTC
(17 years, 6 months ago)
by
andrew.betts
Some additional logging and bug fixes
Revision
9 -
Directory Listing
Modified
Fri Dec 8 16:52:58 2006 UTC
(17 years, 6 months ago)
by
andrew.betts
Revision
8 -
Directory Listing
Modified
Thu Nov 23 16:35:37 2006 UTC
(17 years, 7 months ago)
by
andrew.betts
onunload actions
Revision
7 -
Directory Listing
Modified
Thu Nov 23 15:53:25 2006 UTC
(17 years, 7 months ago)
by
andrew.betts
updated to add more robust frame loading code
Revision
6 -
Directory Listing
Modified
Tue Nov 21 09:49:07 2006 UTC
(17 years, 7 months ago)
by
andrew.betts
changed line endings
Revision
5 -
Directory Listing
Modified
Mon Nov 20 18:05:33 2006 UTC
(17 years, 7 months ago)
by
andrew.betts
Licence block correction
Revision
4 -
Directory Listing
Modified
Mon Nov 20 18:03:29 2006 UTC
(17 years, 7 months ago)
by
andrew.betts
Licence update
Revision
3 -
Directory Listing
Modified
Mon Nov 20 17:59:30 2006 UTC
(17 years, 7 months ago)
by
andrew.betts
Initial import
Revision
2 -
Directory Listing
Modified
Mon Oct 9 19:00:48 2006 UTC
(17 years, 8 months ago)
by
(unknown author)
Initial directory structure.