Thu, 15 Jun 2006 13:27:57 -0700 hgweb: split "verbs" into methods.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 13:27:57 -0700] rev 2436
hgweb: split "verbs" into methods.
Thu, 15 Jun 2006 12:57:59 -0700 http client: support persistent connections.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 12:57:59 -0700] rev 2435
http client: support persistent connections. uses keepalive module from urlgrabber package. tested against "hg serve", cgi server, and through http proxy. used ethereal to verify that only one tcp connection used during entire "hg pull" sequence. if server supports keepalive, this makes latency of "hg pull" much lower.
Thu, 15 Jun 2006 12:55:58 -0700 http server: support persistent connections.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 15 Jun 2006 12:55:58 -0700] rev 2434
http server: support persistent connections. only "hg serve" affected yet. http server running cgi script will not use persistent connections. support for fastcgi will help that. clients that support keepalive can use one tcp connection for all commands during clone and pull. this makes latency of binary search during pull much lower over wan. if server does not know content-length, it will force connection to close at end. right fix is to use chunked transfer-encoding but this is easier and does not hurt performance. only command that is affected is "changegroup" which is always last command during a pull.
(0) -1000 -300 -100 -30 -10 -3 +3 +10 +30 +100 +300 +1000 +3000 tip