Article View: comp.windows.x
Article #25368Re: 128k request limit
From: garfinke
Date: Fri, 10 Apr 1987 15:00
Date: Fri, 10 Apr 1987 15:00
31 lines
1688 bytes
1688 bytes
> Currently, the X 10 server will close a connection to a client if
>the client sends a request with more than 128 kilobytes of data. This
>seems unnecessarily restrictive, e.g. for an 8 bit color display, the
>largest pixmap that can be displayed (sent) is only 128x128. Will this
>restriction be removed in X 11?
Why wait for X11? Just go to the Read_segment routine in main.c and
change it.
if (size + sizeof (XReq) > bufsize[client]) {
/* must increase the buffer to accomodate what's coming */
#ifndef NOLIMIT
if (size <= MAXBUFSIZE) {
#endif
ptr = Xalloc (bufsize[client] = size + sizeof (XReq));
bcopy (bufptr[client], ptr, bufcnt[client]);
free (sockbuf[client]);
sockbuf[client] = bufptr[client] = ptr;
#ifndef NOLIMIT
} else
Close_down (client);
#endif
}
BTW, all of you out there who run the HP server don't have this limit.
Also removed is the silly restriction which disallows the use of ZPixmaps
on monochrome displays.
------
Dan Garfinkel (hplabs!garfinkel)
Technical Details
Message-ID:
<69500005@hplabsc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!lll-lcc!pyramid!hplabs!hplabsc!garfinkeReferences:
<18260@ucbvax.BERKELEY.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!lll-lcc!pyramid!hplabs!hplabsc!garfinke From: garfinke@hplabsc.UUCP Newsgroups: comp.windows.x Subject: Re: 128k request limit Message-ID: <69500005@hplabsc.UUCP> Date: Fri, 10-Apr-87 10:00:00 EST Article-I.D.: hplabsc.69500005 Posted: Fri Apr 10 10:00:00 1987 Date-Received: Sat, 11-Apr-87 21:42:56 EST References: <18260@ucbvax.BERKELEY.EDU> Organization: Hewlett-Packard Laboratories - Palo Alto, CA Lines: 31