Displaying 12 results from an estimated 12 matches for "close_connect".
2008 Jan 06
5
Having very odd problems with UDP.
...achine 0.8.1 on windows XP and am having very odd problems.
This snippet of code gives the error that follows it.
class EchoServer
def receive_data data
puts data
send_data ">>>you sent: #{data}"
if data =~ /quit/i
puts "quitting"
close_connection
EventMachine::stop_event_loop
end
end
end
EventMachine::run {
EventMachine::open_datagram_socket "127.0.0.99", port, EchoServer
}
Gives the error
d:/ruby/lib/ruby/gems/1.8/gems/eventmachine-0.8.1-x86-mswin32/lib/eventmachine.rb:959:in
`event_callback'': Ev...
2019 Aug 29
0
I broke "yum update" - C7
...6:27:08,367 trans function "_" = <function _ at 0x7effcd5bf2a8>
2019-08-29 16:27:08,391 combined options: {
'delegate' : {
'async' : None,
'bandwidth' : 0,
'cache_openers': True,
'checkfunc' : None,
'close_connection': 0,
'copy_local' : 0,
'curl_obj' : None,
'data' : None,
'default_speed': 1000000.0,
'delegate' : None,
'failfunc' : <function _do_raise at 0x7effcd5bf848>,
'failure_callback': Non...
2004 Aug 06
1
Icecast 1.3.12 hangs: Problems with a big number of sources?
....12 and adapted it to our needs:
- low data rates of 50 and 500 bytes/sec
- up to 150 source streams
- no meta data
Our operating system is Red Hat Linux 8.0.
Under these circumstances and after variable periods of time our
icecast server hangs.
At present we suppose that it is the call of "close_connection" at
the end of function "source_func" that locks the "double_mutex"
and the "source_mutex" and causes this problem.
Maybe there is a problem with the big number of source streams?
For hints on known bugs or any ideas we would be thankful.
Alexander Daxenberger...
2019 Aug 29
4
I broke "yum update" - C7
Am 2019-08-29 16:51, schrieb Gary Stainburn:
> On Thursday 29 August 2019 15:45:44 Gordon Messmer wrote:
>> On 8/29/19 3:03 AM, Gary Stainburn wrote:
>> > https://us-east.repo.webtatic.com/yum/el7/x86_64/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate issuer is not recognized."
>>
>>
>> What do you see when you run:
>>
2006 Jan 13
4
FastCGI processes sometimes ''hang''
I am running a RoR application on Apache 1.3/RedHat 7.3/MySQL 3.1.23
(Old versions I know, but upgrading to latest versions are not practical
for a number of reasons). There are 5 RoR FastCGI processes configured
using FastCgiServer.
What I am finding is that, after a while, some of the FastCGI processes
seem to ''hang''. They no longer process requests, and the only way to
2007 Nov 07
4
Gracefully stopping EventMachine?
...'s model.
The problem I am having is I''d like it to be possible to shutdown the
server, for whatever reason. I have a command coded that should tell
everyone who is connected that ''So-and-so has executed a shutdown.'', and
then loops through the connections and calls close_connection(true) so
they''ll see the message before being disconnected. The problem then becomes
getting EventMachine to quit, but not until it''s handled the output and
disconnected everyone.
I''ve tried following with EventMachine::stop and
EventMachine::stop_event_loop, both of...
2007 Sep 14
3
epoll appears to break
...bygems''
require ''eventmachine''
module EchoServer
def post_init
puts "Connection from #{Socket.unpack_sockaddr_in(get_peername).inspect}"
set_comm_inactivity_timeout 60
end
def receive_data data
send_data ">>>you sent: #{data}"
close_connection if data =~ /quit/i
end
end
EventMachine::epoll
puts EventMachine::set_descriptor_table_size
EventMachine::run {
EventMachine::start_server "127.0.0.1", 8081, EchoServer
}
-- 8< ---------
2019 Aug 29
0
I broke "yum update" - C7
...from cached hostfile
2019-08-29 17:23:17,344 combined options: {
'text' : 'epel/x86_64/metalink',
'delegate' : {
'async' : None,
'bandwidth' : 0,
'cache_openers': True,
'checkfunc' : None,
'close_connection': 0,
'copy_local' : 0,
'curl_obj' : None,
'data' : None,
'default_speed': 1000000.0,
'delegate' : None,
'failfunc' : <function _do_raise at 0x7fd3c45da848>,
'failure_callback': Non...
2019 Aug 29
2
I broke "yum update" - C7
Am 2019-08-29 17:36, schrieb Gary Stainburn:
> On Thursday 29 August 2019 16:20:00 Alexander Dalloz wrote:
>> Hi,
>>
>> yum uses libcurl behind the scenes and thus NSS and not OpenSSL.
>>
>> Do you get something indicative when running:
>>
>> URLGRABBER_DEBUG=1 yum --disablerepo=\* --enablerepo=webtatic
>> check-update
>>
>>
2009 Mar 13
0
Wine release 1.1.17
...: Ignore report_data call if binding is stopped.
urlmon: Move some HttpProtocol variables to generic Protocol object.
urlmon: Move strndupW implementation to header file.
urlmon: Moved HttpProtocol::[Lock|Unlock]Request implementation to generic Protocol object.
urlmon: Move close_connection implementation to common Protocol object.
urlmon: Move HttpProtocol::Read implementation to generic Protocol object.
urlmon: Move HttpProtocol::Continue implementation to generic Protocol object.
urlmon: Move HttpProtocol::Start implementation to generic Protocol object....
2008 Mar 07
0
Wine release 0.9.57
...mshtml: Added IHTMLBodyElement::vLink implementation.
mshtml: Added IHTMLBodyElement::aLink implementation.
urlmon.idl: Added IInternet declaration.
wininet: Fixed version returned by INTERNET_OPTION_VERSION.
wininet: Moved handle destructor to vtbl.
wininet: Moved close_connection to vtbl.
wininet: Use vtbl in InternetWriteFile implementation.
wininet: Use vtbl for InternetSetOption(INTERNET_OPTION_[SEND|RECEIVE]_TIMEOUT) implementation.
wininet: Moved InternetFindNextFileW implementation to vtbl.
wininet: Move WININETFTPFINDNEXTW declaration to ft...
2006 Aug 20
14
http parser
Just thought I''d let you know that your http parser worked great for
creating an http protocol handler for Eventmachine. It wouldn''t take
that much effort to use Eventmachine for Mongrel, might be worth a
shot just to see how it does. A few things would need to be
restructered, like HttpRequest where you read the rest of the body,
and calling the handler. But it