search for: get_header

Displaying 15 results from an estimated 15 matches for "get_header".

2004 Dec 27
2
possible bug with mail->get_header and caching?
...n a mail is copied from INBOX to SPAM that doesn't have the signature line, I return an error to the client saying the user can't do that copy since the signature line is necessary. I detect the condition of not having that signature line by checking like this: if (!(signature = mail->get_header(mail, "X-DSPAM-Signature")) { ... return error ... } This works fine, error comes back. Second try, copying a mail that has the header line: works. So, lets do some code changes, disconnect and reconnect to reload the plugin. All of a sudden, copying mails that don't have the head...
2010 Jan 27
3
Data transfer
Hi, im a student and we are devloping a training sytem for radio operators (for ships, police, ...) at our university. So far we are using a simple own protocol for speech and data transmission, works well at a Lan. Now we are looking for a way to connect the devices over the internet. I did some very quick testing with Asterisk and PJSIP [1] and it looks very promising. Apart from the voice
2017 Aug 08
1
Troubleshooting php-fpm with apache on Centos 7
On 8/8/2017 8:57 ??, John R Pierce wrote: > does the user apache is running as have write access to that folder ? Thank you for your reply, John. Yes, there is write access: # ls -l /var/webs/wwwgreekgeo/log/php* -rw-rw---- 1 root apache 0 Aug 7 22:58 /var/webs/wwwgreekgeo/log/php_error_log # ls -l /var/webs/wwwgreekgeo/ total 8 drwxrwx--- 2 wftpuser apache 4096 Aug 8 03:46 log
2003 Apr 16
1
pop3 coredump
...;, try_lock = 0x805c88c <mail_index_try_lock>, set_lock_notify_callback = 0x805c8a4 <mail_index_set_lock_notify_callback>, rebuild = 0x8054f20 <maildir_index_rebuild>, fsck = 0x805de50 <mail_index_fsck>, sync_and_lock = 0x8055db4 <maildir_index_sync>, get_header = 0x805c928 <mail_index_get_header>, lookup = 0x805c968 <mail_index_lookup>, next = 0x805cac0 <mail_index_next>, lookup_uid_range = 0x805cb48 <mail_index_lookup_uid_range>, lookup_field = 0x805cc58 <mail_index_lookup_field>, lookup_field_raw = 0x805ccac &lt...
2005 Sep 08
1
1.0alpha1: another imap core, no assert
...e. ) at mail-cache-lookup.c:499 499 if (*p == '\n' && (gdb) backtrace #0 mail_cache_lookup_headers (view=0xc9e78, dest=0xb8280, seq=21, fields=Variable "fields" is not available. ) at mail-cache-lookup.c:499 #1 0x000420bc in index_mail_get_header_stream (_mail=Variable "_mail" is not available. ) at index-mail-headers.c:614 #2 0x0005ae34 in mail_get_header_stream (mail=Variable "mail" is not available. ) at mail.c:97 #3 0x0004192c in index_mail_headers_get_envelope (mail=0xae448) at index-mail-headers.c:401 #4 0x00040...
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
...rnings(socketConnection("8.8.8.8", port = 53)) + close(con) + con <- url("http://eu.httpbin.org/headers") + lines <- readLines(con) + close(con) + stopifnot(any(grepl("Host.*eu.httpbin.org", lines))) + TRUE + }, error = function(e) FALSE) +} + +get_headers <- function(path = "anything", quiet = TRUE, ..., + protocol = "http") { + url <- get_path(path, protocol) + tmp <- tempfile() + on.exit(try(unlink(tmp)), add = TRUE) + download.file(url, tmp, quiet = quiet, ...) + readLines(tmp) +} + +get_...
2006 May 22
1
beta8: cores on corrupted index file
...0x00062c50 in mail_cache_compress_locked (cache=0xb8f38, view=0xffbff320) at mail-cache-compress.c:305 305 return mail_cache_reopen(cache); (gdb) print *view $2 = {refcount = 0, methods = {close = 0, get_messages_count = 0x8e400 <__PRETTY_FUNCTION__.5370+16>, get_header = 0x8e400 <__PRETTY_FUNCTION__.5370+16>, lookup_full = 0, lookup_uid = 0xbc494, lookup_uid_range = 0xffbff3d0, lookup_first = 0x59934 <mail_index_sync_commit+184>, lookup_ext_full = 0, get_header_ext = 0xbde9c}, index = 0xbc460, log_view = 0x0, indexid = 4, map = 0xbde9c,...
2018 Jan 23
0
Now playing (PHP example)
...Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36'; $opts = [ 'http' => [ 'method' => 'GET', 'header' => 'Icy-MetaData: 1', 'user_agent' => $ua ] ]; if (($headers = get_headers($streamingUrl))) foreach ($headers as $h) if (strpos(strtolower($h), 'icy-metaint') !== false && ($interval = explode(':', $h)[1])) break; $context = stream_context_create($opts); if ($stream = fopen($streamingUrl, 'r', false, $context)) {...
2004 Apr 21
0
SIP ACK // CSeq 0 => ZAP Channel hangup
...if (!strcasecmp(cmd, "ACK")) { /* Uhm, I haven't figured out the point of the ACK yet. Are we supposed to retransmit responses until we get an ack? Make sure this is on a valid call */ __sip_ack(p, seqno, 1); if (strlen(get_header(req, "Content-Type"))) { if (process_sdp(p, req)) return -1; } if (!p->lastinvite && !strlen(p->randdata)) ^^^^^^^^^^^^^^ p-&g...
2005 Dec 14
0
Assertion Failure in Current CVS Version
...n.c:129 view = (struct mail_index_view *) 0x80e3668 rec = Variable "rec" is not available. (gdb) p *seq $1 = 0 (gdb) p *view $2 = {refcount = 2, methods = {close = 0x808df20 <_view_close>, get_messages_count = 0x808d7b0 <_view_get_messages_count>, get_header = 0x808d7c0 <_view_get_header>, lookup_full = 0x808e500 <_view_lookup_full>, lookup_uid = 0x808e480 <_view_lookup_uid>, lookup_uid_range = 0x808e350 <_view_lookup_uid_range>, lookup_first = 0x808e210 <_view_lookup_first>, lookup_ext_full = 0x80...
2018 Jan 23
2
Now playing (PHP example)
Wow, thank you so much! I completely forgot about the status-json.xsl file... :D 2018-01-23 15:38 GMT+01:00, unosonic <un at aporee.org>: > Danijela Popović: >> Hi all, >> Basically there's my question in the subject. I need a simple example >> of now playing artist, song, and listeners. Can somebody write it down >> for me? > > no time, sorry >
2006 Jan 31
1
beta2: strange assert
..._mail_get_received_date>, get_date = 0x47db8 <index_mail_get_date>, get_virtual_size = 0x47f60 <index_mail_get_virtual_size>, get_physical_size = 0x37368 <mbox_mail_get_physical_size>, get_first_header = 0x4a510 <index_mail_get_first_header>, get_headers = 0x4a274 <index_mail_get_headers>, get_header_stream = 0x4a570 <index_mail_get_header_stream>, get_stream = 0x37408 <mbox_mail_get_stream>, get_special = 0x37298 <mbox_mail_get_special>, update_flags = 0x49180 <index_mail_update_flags>,...
2006 Oct 23
0
SIP_HEADER function; what names are available?
...the source for your Asterisk installation to provide > access to the URI... In chan_sip.c:func_header_read() you > could do something like: > > static char *func_header_read(struct ast_channel *chan, char > *cmd, char *data, char *buf, size_t len) { <snip/> > content = get_header(&p->initreq, data); > > if (ast_strlen_zero(content)) { > <new> > /* look for an experimental pseudo-header that > allows us access to the request URI */ > /* but note that this is not a real header name! */ > if (strcmp(data, > "x-Asterisk-Reques...
2005 Sep 01
3
qpopper UIDLs and migrating to dovecot/maildir
hi all, I am hoping to convert a 350K user qpopper installation using mbox to dovecot and maildir (pop3 only). many of the users "leave mail on server", and qpopper's UIDL format isn't (yet) supported by dovecot. since the UIDLs have been written by qpoppper to the existing mbox files (and will be preserved when the mboxes are converted to maildir) it would be possible to do
2012 Aug 17
2
How to test Websocket support in SIP in Asterisk trunk?
I see no indication of how to do this in sip.conf, and when I start Asterisk, it doesn't wait on port 80. Greetings, -- Juan Carlos Castro y Castro Instant Solutions - Telefonia Gerando Resultado http://www.instant.com.br Principais capitais: 4063-6100 Demais regi?es: (11)4063-6100